diff options
Diffstat (limited to 'api/data.php')
-rw-r--r-- | api/data.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/data.php b/api/data.php index 7ede925..51df59a 100644 --- a/api/data.php +++ b/api/data.php @@ -2,7 +2,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/bitset.php"; -if (!$isLoggedIn) header("Location: /login") and die(); +if (!$isLoggedIn) header("Location: /-/login") and die(); if (!isset($_GET['f']) || !file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/" . $_GET['f'])) { die(); |