Update index-controller.php
This commit is contained in:
@@ -24,7 +24,7 @@ if (!in_array($pfad, $erlaubte_content_seiten)) {
|
|||||||
|
|
||||||
// Automatisch den passenden Controller laden, falls erlaubt
|
// Automatisch den passenden Controller laden, falls erlaubt
|
||||||
if ($pfad !== "404" && in_array($pfad, $erlaubte_controller)) {
|
if ($pfad !== "404" && in_array($pfad, $erlaubte_controller)) {
|
||||||
include_once "php/controller/" . $pfad . "-controller.php";
|
include_once "../php/controller/" . $pfad . "-controller.php";
|
||||||
|
|
||||||
// Nach Logout oder Account-Löschung das Skript sofort beenden
|
// Nach Logout oder Account-Löschung das Skript sofort beenden
|
||||||
if ($pfad === "logout" || $pfad === "deleteAccount") {
|
if ($pfad === "logout" || $pfad === "deleteAccount") {
|
||||||
|
|||||||
Reference in New Issue
Block a user