//replace dirname(__FILE__) by _PS_ADMIN_DIR_ to prevent cache bug with __FILE__
This commit is contained in:
+2
-2
@@ -27,8 +27,8 @@
|
||||
$timer_start = microtime(true);
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
|
||||
require(dirname(__FILE__).'/../config/config.inc.php');
|
||||
require(dirname(__FILE__).'/functions.php');
|
||||
require(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
||||
require(_PS_ADMIN_DIR_.'/functions.php');
|
||||
|
||||
//small test to clear cache after upgrade
|
||||
if (Configuration::get('PS_UPGRADE_CLEAR_CACHE'))
|
||||
|
||||
Reference in New Issue
Block a user