Update index-controller.php

This commit is contained in:
2026-07-18 15:50:07 +02:00
parent d341312192
commit fee5a701df
+1 -1
View File
@@ -24,7 +24,7 @@ if (!in_array($pfad, $erlaubte_content_seiten)) {
// Automatisch den passenden Controller laden, falls erlaubt
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
if ($pfad === "logout" || $pfad === "deleteAccount") {