summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-06-28 19:38:43 +0200
committerRaindropsSys <contact@minteck.org>2023-06-28 19:38:43 +0200
commit1a8ca2abd9e3a21657ceb2ebce2d2e9cbb3b7f96 (patch)
tree4f94d6b59da7da6e21ba50411fb6b86efd13db10 /includes
parent25f3023ff36d3fc2afcba1f910372a19f95b69a5 (diff)
downloadpluralconnect-1a8ca2abd9e3a21657ceb2ebce2d2e9cbb3b7f96.tar.gz
pluralconnect-1a8ca2abd9e3a21657ceb2ebce2d2e9cbb3b7f96.tar.bz2
pluralconnect-1a8ca2abd9e3a21657ceb2ebce2d2e9cbb3b7f96.zip
Updated 2 files (automated)
Diffstat (limited to 'includes')
-rw-r--r--includes/components/explicit.php2
-rw-r--r--includes/components/footer.inc2
2 files changed, 3 insertions, 1 deletions
diff --git a/includes/components/explicit.php b/includes/components/explicit.php
index f7b4533..4c55896 100644
--- a/includes/components/explicit.php
+++ b/includes/components/explicit.php
@@ -1,4 +1,4 @@
-<?php global $isLoggedIn; global $isLowerLoggedIn; global $_PROFILE; global $app; if (isset($_PROFILE["login"]) && $isLoggedIn || $isLowerLoggedIn): ?>
+<?php global $isLoggedIn; global $isLowerLoggedIn; global $_PROFILE; global $app; if ($isLoggedIn || $isLowerLoggedIn): ?>
<div class="modal" id="explicit-modal" data-bs-backdrop="static" data-bs-keyboard="false">
<div class="modal-dialog">
<div class="modal-content">
diff --git a/includes/components/footer.inc b/includes/components/footer.inc
index 51e35d1..20d3ede 100644
--- a/includes/components/footer.inc
+++ b/includes/components/footer.inc
@@ -52,5 +52,7 @@ global $pageFile;
<pre><?php $GLOBALS["ColdHazePerformance"]["footer"] = (microtime(true) - $start) * 1000; var_dump($GLOBALS["ColdHazePerformance"]); ?></pre>
<?php endif; ?>
+<?php global $isLoggedIn; global $isLowerLoggedIn; if ($isLoggedIn || $isLowerLoggedIn) require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/components/explicit.php"; ?>
+
</body>
</html> \ No newline at end of file