From 930bf99fa1757d2eaa0d09022e1be256de983a30 Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Mon, 1 Jun 2026 23:56:44 +0200 Subject: [PATCH] Update index.php --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 40b2c59..a271fd2 100644 --- a/index.php +++ b/index.php @@ -62,13 +62,13 @@ if ($pfad === "deleteAccount") { Je nach pfad-Parameter wird die passende Datei aus content geladen. */ if (isset($_GET["pfad"])) { - if (file_exists('/content/' . $_GET["pfad"] . '.php')) { - include_once '/content/' . $_GET["pfad"] . '.php'; + if (file_exists('content/' . $_GET["pfad"] . '.php')) { + include_once 'content/' . $_GET["pfad"] . '.php'; } else { - include_once '/content/404.php'; + include_once 'content/404.php'; } } else { - include_once '/content/home.php'; + include_once 'content/home.php'; } include_once 'includes/footer.php';