// Removed the folder name restriction "-dev" #PSCFV-4186
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17445 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -70,8 +70,7 @@ class AdminLoginControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
|
||||
if (file_exists(_PS_ADMIN_DIR_.'/../install') || file_exists(_PS_ADMIN_DIR_.'/../admin')
|
||||
|| (file_exists(_PS_ADMIN_DIR_.'/../install-dev') && (!defined('_PS_MODE_DEV_') || !_PS_MODE_DEV_)))
|
||||
if (file_exists(_PS_ADMIN_DIR_.'/../install') || file_exists(_PS_ADMIN_DIR_.'/../admin'))
|
||||
$this->context->smarty->assign(array(
|
||||
'randomNb' => rand(100, 999),
|
||||
'wrong_folder_name' => true
|
||||
|
||||
Reference in New Issue
Block a user