[-] BO : Retro compat, PS_ADMIN_DIR not defined
This commit is contained in:
1 parent
d6ffb45eb1
commit
df0a24d63c
1 file changed
+3
@@ -27,6 +27,9 @@
|
|||||||
$timer_start = microtime(true);
|
$timer_start = microtime(true);
|
||||||
define('_PS_ADMIN_DIR_', getcwd());
|
define('_PS_ADMIN_DIR_', getcwd());
|
||||||
|
|
||||||
|
if (!defined('PS_ADMIN_DIR'))
|
||||||
|
define('PS_ADMIN_DIR', PS_ADMIN_DIR);
|
||||||
|
|
||||||
require(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
require(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
||||||
require(_PS_ADMIN_DIR_.'/functions.php');
|
require(_PS_ADMIN_DIR_.'/functions.php');
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user