// Fix check on install folders in adminLogin
This commit is contained in:
1 parent
4d9971cf15
commit
18a2c1c92a
1 file changed
+1
-1
@@ -71,7 +71,7 @@ class AdminLoginControllerCore extends AdminController
|
|||||||
|
|
||||||
|
|
||||||
if (file_exists(_PS_ADMIN_DIR_.'/../install') || file_exists(_PS_ADMIN_DIR_.'/../admin')
|
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_))
|
|| (file_exists(_PS_ADMIN_DIR_.'/../install-new') && (!defined('_PS_MODE_DEV_') || !_PS_MODE_DEV_))
|
||||||
)
|
)
|
||||||
$this->context->smarty->assign(
|
$this->context->smarty->assign(
|
||||||
array(
|
array(
|
||||||
|
|||||||
Reference in new issue
Block a user