diff options
-rw-r--r-- | includes/components/explicit.php | 2 | ||||
-rw-r--r-- | includes/components/footer.inc | 2 |
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 |