dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit 3f9c048493 - Show all commits
+2 -4
View File
@@ -2,9 +2,7 @@
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
include_once("php/controller/index-controller.php");
include_once "php/controller/index-controller.php";
?>
<!DOCTYPE html>
<html lang="de">
@@ -38,7 +36,7 @@ include_once("php/controller/index-controller.php");
<?php
include_once 'includes/navbar.php';
// Dynamischer Inhalt (Absolut sicher durch die obige Prüfung)
// Dynamischer Inhalt (Nutzt das geprüfte $pfad aus dem Index-Controller)
if (isset($pfad) && $pfad !== "404" && file_exists('content/' . $pfad . '.php')) {
include_once 'content/' . $pfad . '.php';
} else {