mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 04:30:12 +01:00
minor fix in login.php
This commit is contained in:
parent
56d605549f
commit
a132c85be8
@ -11,6 +11,12 @@ class ControllerLoginLogin extends Controller {
|
|||||||
$this->layout = "common/layout-empty";
|
$this->layout = "common/layout-empty";
|
||||||
|
|
||||||
|
|
||||||
|
if(Registry::get('username')) {
|
||||||
|
header("Location: search.php");
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$request = Registry::get('request');
|
$request = Registry::get('request');
|
||||||
|
|
||||||
$db = Registry::get('db');
|
$db = Registry::get('db');
|
||||||
|
Loading…
Reference in New Issue
Block a user