//replace dirname(__FILE__) by _PS_ADMIN_DIR_ to prevent cache bug with __FILE__
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
include(dirname(__FILE__).'/../config/config.inc.php');
|
||||
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
||||
Context::getContext()->shop->setContext(Shop::CONTEXT_ALL);
|
||||
|
||||
if (substr(_COOKIE_KEY_, 34, 8) != Tools::getValue('token'))
|
||||
|
||||
Reference in New Issue
Block a user