// Fix check on install folders in adminLogin
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11746 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
c0f09c9590
commit
c9f8d11e3a
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')
|
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