mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-29 18:59:21 +02:00
Merge branch 'develop' into feature/settings
This commit is contained in:
commit
c6ce60c5d1
@ -12,7 +12,7 @@ $title = 'Login';
|
|||||||
|
|
||||||
require PAGES . 'account/login.php';
|
require PAGES . 'account/login.php';
|
||||||
if ($logged) {
|
if ($logged) {
|
||||||
header('Location: ' . ADMIN_URL);
|
header('Location: ' . (admin() ? ADMIN_URL : BASE_URL));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user