Update index-controller.php

This commit is contained in:
2026-07-18 16:08:05 +02:00
parent 423941e7ed
commit 101a2a247b
+12 -6
View File
@@ -18,18 +18,24 @@ if (!in_array($pfad, $erlaubte_content_seiten)) {
// Controller laden // Controller laden
if ($pfad === "login") { if ($pfad === "login") {
include_once "php/controller/login-controller.php"; include_once "php/controller/login-controller.php";
} elseif ($pfad === "register") { }
if ($pfad === "register") {
include_once "php/controller/register-controller.php"; include_once "php/controller/register-controller.php";
} elseif ($pfad === "password-forgotten") { }
if ($pfad === "password-forgotten") {
include_once "php/controller/password-forgotten-controller.php"; include_once "php/controller/password-forgotten-controller.php";
} elseif ($pfad === "confirm-register") { }
if ($pfad === "confirm-register") {
include_once "php/controller/confirm-register-controller.php"; include_once "php/controller/confirm-register-controller.php";
} elseif ($pfad === "confirm-password") { }
if ($pfad === "confirm-password") {
include_once "php/controller/confirm-password-controller.php"; include_once "php/controller/confirm-password-controller.php";
} elseif ($pfad === "logout") { }
if ($pfad === "logout") {
include_once "php/controller/logout-controller.php"; include_once "php/controller/logout-controller.php";
exit(); exit();
} elseif ($pfad === "deleteAccount") { }
if ($pfad === "deleteAccount") {
include_once "php/controller/deleteAccount-controller.php"; include_once "php/controller/deleteAccount-controller.php";
exit(); exit();
} }