// PS_MODE_DEV exception for install-new check
This commit is contained in:
@@ -71,7 +71,7 @@ class AdminLoginControllerCore extends AdminController
|
||||
|
||||
|
||||
if(file_exists(_PS_ADMIN_DIR_.'/../install') || file_exists(_PS_ADMIN_DIR_.'/../admin')
|
||||
|| file_exists(_PS_ADMIN_DIR_.'/../install-new')
|
||||
|| (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