debgging
This commit is contained in:
@@ -8,7 +8,7 @@ require_once "../model/LocalUserDAO.php";
|
|||||||
$dao = new LocalUserDAO();
|
$dao = new LocalUserDAO();
|
||||||
|
|
||||||
if (!isset($_SESSION["user"])) {
|
if (!isset($_SESSION["user"])) {
|
||||||
header("Location: index.php?pfad=login");
|
header("Location: ../../index.php?pfad=login");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ if (!$user) {
|
|||||||
$_SESSION = [];
|
$_SESSION = [];
|
||||||
session_destroy();
|
session_destroy();
|
||||||
|
|
||||||
header("Location: index.php?pfad=login");
|
header("Location: ../../index.php?pfad=login");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user