mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-06 18:56:23 +01:00
Merge branch 'develop' into feature/settings
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user