diff options
Diffstat (limited to 'api/save.php')
-rw-r--r-- | api/save.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/save.php b/api/save.php index a54a02a..f679a71 100644 --- a/api/save.php +++ b/api/save.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(); $request_raw = file_get_contents('php://input'); $json_object = json_decode($request_raw, true); |