[-] BO : Fixed bug #PSCFV-2288. _PS_ADMIN_DIR_ was not defined
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?
|
||||
include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
if (!defined('_PS_ADMIN_DIR_'))
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
require_once('../../config/config.inc.php');
|
||||
require_once('../init.php');
|
||||
$error = '';
|
||||
|
||||
Reference in New Issue
Block a user