// 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')
|
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(
|
$this->context->smarty->assign(
|
||||||
array(
|
array(
|
||||||
|
|||||||
Reference in New Issue
Block a user