Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Depends on if the OP just wants to rename the directory - I think OC takes the DIR_APPLICATION into account, so modifications don't have to be changed. If you look at installer codebase https://github.com/opencart/opencart/bl ... l.php#L196
OP - Whats the reason for wanting to change it?
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
They DO have to be changed, if they modify files in "admin" folder. So my statement stays: not worth it at all.sw!tch wrote: ↑Sun Jan 05, 2020 7:22 pmDepends on if the OP just wants to rename the directory - I think OC takes the DIR_APPLICATION into account, so modifications don't have to be changed. If you look at installer codebase https://github.com/opencart/opencart/bl ... l.php#L196
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.
Electronic Components: integrated circuits, ic, semiconductors, transistors, thyristors, fuses, resistors, diodes, capacitors & more.
buy & sell transistors & mosfet
Much easier to add an access with password rather than constantly changing IP.chongshengdz wrote: ↑Sun Jan 05, 2020 10:26 pmbetter use .htaccess to allow or deny ip address.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
https://www.hackingarticles.in/multiple ... ntication/
just get a fixed ip address.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
However, setting a password protection from access is only text formatting. It does not handle encoding or encryption.thekrotek wrote: ↑Sun Jan 05, 2020 10:43 pmMuch easier to add an access with password rather than constantly changing IP.chongshengdz wrote: ↑Sun Jan 05, 2020 10:26 pmbetter use .htaccess to allow or deny ip address.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
i use vpn , so there is no need to change ip address constantly.thekrotek wrote: ↑Sun Jan 05, 2020 10:43 pmMuch easier to add an access with password rather than constantly changing IP.chongshengdz wrote: ↑Sun Jan 05, 2020 10:26 pmbetter use .htaccess to allow or deny ip address.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.
Electronic Components: integrated circuits, ic, semiconductors, transistors, thyristors, fuses, resistors, diodes, capacitors & more.
buy & sell transistors & mosfet
That's a risk in itself though.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: No registered users and 406 guests