I have the latest zen-cart version. I went to the admin to start working on it and I got the warning of having to rename the folder to prevent anauthorized access.
I went to admin/includes/configure.php
and I got the directions (in the tutorial) to edit:
define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
However my admin/includes/configure.php look like this:
define('DIR_WS_ADMIN', '/mystorename/admin/');
define('DIR_WS_CATALOG', '/mystorename/');
define('DIR_WS_HTTPS_ADMIN', '/mystorename/admin/');
define('DIR_WS_HTTPS_CATALOG', '/mystorename/');
As you may noticed I have the name of my store nameadded into the sequence
The same happened with this part...Instead of looking like this:
define 'DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
Looks very different... I know that part of the difference here is because I am in a local host....
define('DIR_FS_ADMIN', 'C:/xampp/htdocs/mystorename/admin/');
My question is:
should I change the "admin" for another name only?
or do I have to rename the admi and "mystorename" too?
I would appreciate written programming to clearly look how this should look like. My configure.php is in blue and that is the one that needs to be modified.
Thanks
Marlake




Reply With Quote



Bookmarks