[-] BO : bad initialization of context due to miss define of _PS_ADMIN_DIR_ in displayImage.php

This commit is contained in:
vAugagneur
2013-01-09 10:33:57 +01:00
parent 857b8c2009
commit bb558446e8
4 changed files with 1 additions and 3 deletions
-1
View File
@@ -25,7 +25,6 @@
*/
define('_PS_ADMIN_DIR_', getcwd());
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
if (!isset(Context::getContext()->employee) || !Context::getContext()->employee->isLoggedBack())