Update index.php

This commit is contained in:
2026-05-29 11:09:04 +02:00
parent e499ffba22
commit 7067303758
+1
View File
@@ -31,6 +31,7 @@ require_once $abs_path . "/php/controller/index-controller.php";
<body> <body>
<?php <?php
include_once 'includes/navbar.php';
//Dynamischer Inhalt: //Dynamischer Inhalt:
if (isset($_GET["pfad"])) { if (isset($_GET["pfad"])) {
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) { if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {