Quote Originally Posted by torvista View Post
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
Just FYI, this is the old style..cira v1.3.9 that I had in my v1.5.1 by accident and kept IH4 from self installing. Once I used the newer version for determining DIR_WS_ADMIN, the IH4 install worked fine. I wonder what effect changing this back now would have? Frankly my store is working and I do not want to mess with it lol.