summaryrefslogtreecommitdiff
path: root/api/emergency-real.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/emergency-real.php')
-rw-r--r--api/emergency-real.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/emergency-real.php b/api/emergency-real.php
index 6a569e8..06e1813 100644
--- a/api/emergency-real.php
+++ b/api/emergency-real.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();
global $_PROFILE;
$ntfy = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true)["ntfy"];