This commit is contained in:
2026-06-01 23:29:01 +02:00
parent 9cbc1637b4
commit 0f7099be81
+2 -2
View File
@@ -8,7 +8,7 @@ require_once "../model/LocalUserDAO.php";
$dao = new LocalUserDAO();
if (!isset($_SESSION["user"])) {
header("Location: index.php?pfad=login");
header("Location: ../../index.php?pfad=login");
exit();
}
@@ -23,7 +23,7 @@ if (!$user) {
$_SESSION = [];
session_destroy();
header("Location: index.php?pfad=login");
header("Location: ../../index.php?pfad=login");
exit();
}