//replace dirname(__FILE__) by _PS_ADMIN_DIR_ to prevent cache bug with __FILE__
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
||||
/* Getting cookie or logout */
|
||||
require_once(dirname(__FILE__).'/init.php');
|
||||
require_once(_PS_ADMIN_DIR_.'/init.php');
|
||||
|
||||
$context = Context::getContext();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user