zen-cart修改后台目录名
如何更改Admin目录名:
在做任何修改前,请备份文件和数据库。
1- 打开文件 admin/includes/configure.php.
将所有出现 /admin/ 的地方改成自己定义的名字
需要修改的部分:
// NOTE: be sure to leave the trailing ‘/’ at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace … (ie: under the public_html or httpdocs folder)
define(‘DIR_WS_ADMIN’, ‘/admin/’);
define(‘DIR_WS_CATALOG’, ‘/’);
define(‘DIR_WS_HTTPS_ADMIN’, ‘/admin/’);
define(‘DIR_WS_HTTPS_CATALOG’, ‘/’);
需要修改的部分:
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define(‘DIR_FS_ADMIN’, ‘/home/mystore.com/www/public/admin/’);
define(‘DIR_FS_CATALOG’, ‘/home/mystore.com/www/public/’);
2- 找到Zen Cart的目录/admin/ 。将该目录名按照 admin/includes/configure.php 中的定义作相应修改。
原创文章,转载请注明: 转载自长沙营销型网站建设,营销型网站开发,Zen-Cart | 小龙包
本文链接地址: zen-cart修改后台目录名


















Really good work about this website was done. Keep trying more – thanks!