dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit d3435d4cde - Show all commits
+2 -2
View File
@@ -36,8 +36,8 @@ include_once "php/controller/index-controller.php";
<?php
include_once 'includes/navbar.php';
// Dynamischer Inhalt (Nutzt das geprüfte $pfad aus dem Index-Controller)
if ($pfad !== "404" && file_exists('content/' . $pfad . '.php')) {
// Dynamischer Inhalt
if (isset($pfad) && $pfad !== "404" && file_exists('content/' . $pfad . '.php')) {
include_once 'content/' . $pfad . '.php';
} else {
include_once 'content/404.php';