[-] BO : Retro compat, PS_ADMIN_DIR not defined

This commit is contained in:
gRoussac committed 2013-10-07 10:47:41 +02:00
1 parent d6ffb45eb1
commit df0a24d63c
1 file changed
+3
+3
View File
@@ -27,6 +27,9 @@
$timer_start = microtime(true);
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_.'/functions.php');