debgging
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user