Update index.php

This commit is contained in:
2026-05-29 11:34:11 +02:00
parent 1afc7b480a
commit 36d4ac0681
-1
View File
@@ -34,7 +34,6 @@ require_once $abs_path . "/php/controller/index-controller.php";
include_once 'includes/navbar.php'; include_once 'includes/navbar.php';
//Dynamischer Inhalt: //Dynamischer Inhalt:
if (isset($_GET["pfad"])) { if (isset($_GET["pfad"])) {
echo $_GET["pfad"];
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) { if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {
include_once $abs_path . '/content/' . $_GET["pfad"] . '.php'; include_once $abs_path . '/content/' . $_GET["pfad"] . '.php';
} else { } else {