// Fix check on install folders in adminLogin
This commit is contained in:
1 parent
5570eadff8
commit
b5e7f5f0f7
1 file changed
+2
-2
@@ -70,8 +70,8 @@ class AdminLoginControllerCore extends AdminController
|
||||
|
||||
|
||||
|
||||
if(file_exists(_PS_ADMIN_DIR_.'/../install') || file_exists(_PS_ADMIN_DIR_.'/../admin')
|
||||
|| (file_exists(_PS_ADMIN_DIR_.'/../install-new') || (defined('_PS_MODE_DEV_') && _PS_MODE_DEV_))
|
||||
if (file_exists(_PS_ADMIN_DIR_.'/../install') || file_exists(_PS_ADMIN_DIR_.'/../admin')
|
||||
|| (file_exists(_PS_ADMIN_DIR_.'/../install-new') && (!defined('_PS_MODE_DEV_') || !_PS_MODE_DEV_))
|
||||
)
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
|
||||
Reference in new issue
Block a user