Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,089
- Plugin Contributions:
- 56
YOUR_ADMIN/includes/local/configure.php ... a gotcha and a solution
ALERT: THIS NOTE APPLIES ONLY TO THE "includes/local/configure.php"
THIS DOES NOT APPLY TO either /includes/configure.php FILE!!!!!!
If you're running a debugging copy of your store in your localhost environment and using the /YOUR_ADMIN/includes/local/configure.php override, there's a teeny gotcha (not present in the /includes/local/configure.php override in your storefront).
When the directory constant DIR_FS_ADMIN is generated, it's **assumed ** :ohmy: that the configure.php file is in the /includes directory:
define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
Unfortunately, it's one directory step down so that the DIR_FS_ADMIN constant winds up being /YOUR_ADMIN/includes/ instead of /YOUR_ADMIN/. Anyway, the correction is to go back another directory level:
define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../../') . '/');