mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +03:00
Update after installation login link
This commit is contained in:
parent
62b8b3ceff
commit
6a1ac9ada4
@ -306,9 +306,17 @@ class InstallController extends AbstractController
|
|||||||
// The installation is done.
|
// The installation is done.
|
||||||
unset($_SESSION[SESSION_PREFIX . 'installation_in_progress']);
|
unset($_SESSION[SESSION_PREFIX . 'installation_in_progress']);
|
||||||
|
|
||||||
|
// We need to manually change front controller and use normal
|
||||||
|
// application's entry point.
|
||||||
|
$login_url = str_replace(
|
||||||
|
'install.php',
|
||||||
|
'index.php',
|
||||||
|
$this->generateUrl('login', array('login' => 'admin'))
|
||||||
|
);
|
||||||
|
|
||||||
$login_link = getlocal(
|
$login_link = getlocal(
|
||||||
'You can login to usgin <a href="{0}">this</a> link.',
|
'You can login to usgin <a href="{0}">this</a> link.',
|
||||||
array($this->generateUrl('login', array('user' => 'admin')))
|
array($login_url)
|
||||||
);
|
);
|
||||||
|
|
||||||
return $this->renderStep(
|
return $this->renderStep(
|
||||||
|
Loading…
Reference in New Issue
Block a user