// Removed the folder name restriction "-dev" #PSCFV-4186

This commit is contained in:
dMetzger
2012-09-20 16:29:50 +00:00
parent 9ebad8c4ab
commit 91ffd30f62
+1 -2
View File
@@ -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