diff options
Diffstat (limited to 'pages/emergency.php')
-rw-r--r-- | pages/emergency.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pages/emergency.php b/pages/emergency.php index ba2a35e..55ed49a 100644 --- a/pages/emergency.php +++ b/pages/emergency.php @@ -1,10 +1,7 @@ <?php -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn; -if (!$isLoggedIn) header("Location: /-/login") and die(); - -$emergencyHeader = true; -$title = "Emergency alert"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.php"; global $title; global $isLoggedIn; +$emergencyHeader = true; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; ?> |