diff options
author | Minteck <contact@minteck.org> | 2023-02-22 10:29:48 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-02-22 10:29:48 +0100 |
commit | bf2558253637537c2d57765e557bdc0e164c58ee (patch) | |
tree | 9c50b253090001183ba574cc073d13f74e273758 /api | |
parent | 005bbb3c5b211dbb52cf8dcedac505f8a683cf42 (diff) | |
download | pluralconnect-bf2558253637537c2d57765e557bdc0e164c58ee.tar.gz pluralconnect-bf2558253637537c2d57765e557bdc0e164c58ee.tar.bz2 pluralconnect-bf2558253637537c2d57765e557bdc0e164c58ee.zip |
Updated 23 files, added assets/uploads/pt-princesscelestia.png and renamed assets/uploads/pt-luna.png (automated)
Diffstat (limited to 'api')
-rw-r--r-- | api/fronter.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/api/fronter.php b/api/fronter.php index 0dd6e99..c41562f 100644 --- a/api/fronter.php +++ b/api/fronter.php @@ -1,7 +1,10 @@ <?php -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.inc"; global $isLoggedIn; -if (!$isLoggedIn) header("Location: /-/login") and die(); +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.inc"; global $isLoggedIn; global $isLowerLoggedIn; +if (!$isLoggedIn || $isLowerLoggedIn) { + header("Location: /-/login"); + die(); +} $system = $_GET['s'] ?? null; $member = $_GET['m'] ?? null; |