From 1.51 the admin configure.php figured out where it was all by itself, eg in 1.53 we have:
PHP Code:
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTP_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
PHP Code:
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', zen_parse_url(HTTPS_SERVER, '/path')) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
For Apsona Shopadmin index page to load, you need to hard-code the admin path:
PHP Code:
define('DIR_WS_ADMIN', '/shop/ADMIN_DIRECTORY/');//steve apsona
PHP Code:
define('DIR_WS_HTTPS_ADMIN', DIR_WS_ADMIN);//steve apsona
and note that when using a /local/configure.php there is a problem with the calculation of DIR_FS_ADMIN as mentioned and ignored here:
http://www.zen-cart.com/showthread.p...windows-server
Bookmarks