summaryrefslogtreecommitdiff
path: root/pages/emergency.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/emergency.php')
-rw-r--r--pages/emergency.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/emergency.php b/pages/emergency.php
index 0405bca..ba2a35e 100644
--- a/pages/emergency.php
+++ b/pages/emergency.php
@@ -1,7 +1,7 @@
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn;
-if (!$isLoggedIn) header("Location: /login") and die();
+if (!$isLoggedIn) header("Location: /-/login") and die();
$emergencyHeader = true;
$title = "Emergency alert"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php';