[-] BO : bad initialization of context due to miss define of _PS_ADMIN_DIR_ in displayImage.php
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
require_once(dirname(__FILE__).'/../config/config.inc.php');
|
||||
require_once(dirname(__FILE__).'/init.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user