summaryrefslogtreecommitdiff
path: root/api/video.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/video.php')
-rw-r--r--api/video.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/video.php b/api/video.php
index 7ac32a1..e960ddf 100644
--- a/api/video.php
+++ b/api/video.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();
if (isset($_GET['id'])) {
header("Content-Type: application/json");