diff --git a/front/deviceDetails.php b/front/deviceDetails.php index aec5aa3c..ff96dcf6 100644 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -12,7 +12,7 @@ session_start(); if ($_SESSION["login"] != 1) { - header('Location: /index.php'); + header('Location: index.php'); exit; } diff --git a/front/devices.php b/front/devices.php index 79d5effe..1e8a5682 100644 --- a/front/devices.php +++ b/front/devices.php @@ -12,7 +12,7 @@ session_start(); if ($_SESSION["login"] != 1) { - header('Location: /index.php'); + header('Location: index.php'); exit; } diff --git a/front/events.php b/front/events.php index e7acb376..677b9f0a 100644 --- a/front/events.php +++ b/front/events.php @@ -1,6 +1,6 @@