diff --git a/admin-dev/themes/template/login/content.tpl b/admin-dev/themes/template/login/content.tpl index 04064b888..5901fb6cc 100755 --- a/admin-dev/themes/template/login/content.tpl +++ b/admin-dev/themes/template/login/content.tpl @@ -78,6 +78,7 @@

{l s='For security reasons, you cannot connect to the Back Office until after you have:'}


{l s='Please then access this page by the new url (eg.) http://www.domain.tld/admin'}{$randomNb}

@@ -100,4 +101,4 @@

© Copyright by PrestaShop. all rights reserved.

- \ No newline at end of file + diff --git a/controllers/admin/AdminLoginController.php b/controllers/admin/AdminLoginController.php index 4ad7f1c54..059474751 100755 --- a/controllers/admin/AdminLoginController.php +++ b/controllers/admin/AdminLoginController.php @@ -70,7 +70,9 @@ class AdminLoginControllerCore extends AdminController - if(file_exists(_PS_ADMIN_DIR_.'/../install') OR 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') + ) $this->context->smarty->assign( array( 'randomNb' => rand(100, 999), @@ -204,4 +206,4 @@ class AdminLoginControllerCore extends AdminController else if (Tools::isSubmit('ajax')) die(Tools::jsonEncode(array('hasErrors' => true, 'errors' => $this->errors))); } -} \ No newline at end of file +}