dev auf main #68
@@ -37,7 +37,7 @@ include_once "php/controller/index-controller.php";
|
|||||||
include_once 'includes/navbar.php';
|
include_once 'includes/navbar.php';
|
||||||
|
|
||||||
// Dynamischer Inhalt (Nutzt das geprüfte $pfad aus dem Index-Controller)
|
// Dynamischer Inhalt (Nutzt das geprüfte $pfad aus dem Index-Controller)
|
||||||
if (isset($pfad) && $pfad !== "404" && file_exists('content/' . $pfad . '.php')) {
|
if ($pfad !== "404" && file_exists('content/' . $pfad . '.php')) {
|
||||||
include_once 'content/' . $pfad . '.php';
|
include_once 'content/' . $pfad . '.php';
|
||||||
} else {
|
} else {
|
||||||
include_once 'content/404.php';
|
include_once 'content/404.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user