From df0a24d63cb696904376478f0eb3e09421bc9b8d Mon Sep 17 00:00:00 2001 From: gRoussac Date: Mon, 7 Oct 2013 10:47:41 +0200 Subject: [PATCH] [-] BO : Retro compat, PS_ADMIN_DIR not defined --- admin-dev/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin-dev/index.php b/admin-dev/index.php index f5fcc246d..df662f082 100644 --- a/admin-dev/index.php +++ b/admin-dev/index.php @@ -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');