summaryrefslogtreecommitdiff
path: root/includes/util
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-04-24 14:03:36 +0200
committerRaindropsSys <contact@minteck.org>2023-04-24 14:03:36 +0200
commit633c92eae865e957121e08de634aeee11a8b3992 (patch)
tree09d881bee1dae0b6eee49db1dfaf0f500240606c /includes/util
parentc4657e4509733699c0f26a3c900bab47e915d5a0 (diff)
downloadpluralconnect-633c92eae865e957121e08de634aeee11a8b3992.tar.gz
pluralconnect-633c92eae865e957121e08de634aeee11a8b3992.tar.bz2
pluralconnect-633c92eae865e957121e08de634aeee11a8b3992.zip
Updated 18 files, added 1692 files and deleted includes/system/compare.inc (automated)
Diffstat (limited to 'includes/util')
-rw-r--r--includes/util/session.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/util/session.inc b/includes/util/session.inc
index 72dd34d..0a5999f 100644
--- a/includes/util/session.inc
+++ b/includes/util/session.inc
@@ -32,4 +32,7 @@ if (isset($_COOKIE['PEH2_SESSION_TOKEN'])) {
$isLowerLoggedIn = true;
}
}
+} else if ($_SERVER["REMOTE_ADDR"] === "127.0.0.1") {
+ $isLowerLoggedIn = false;
+ $isLoggedIn = true;
} \ No newline at end of file