From 079916fb2ffe0acb665bd18842dda33855b2a636 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 24 Dec 2025 23:46:02 +0100 Subject: [PATCH] asdasd --- public/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index cacd8fc..3f114ea 100644 --- a/public/index.php +++ b/public/index.php @@ -25,10 +25,15 @@ if ($uriPath === '' || $uriPath === 'index' || $uriPath === 'index.php') { } // 2) Datei elseif (is_file($base . '.php')) { -echo $base; + $target = $base . '.php'; } // 3) 404 + elseif (is_file($base)) { + + $target = $base; + } + // 3) 404 else { http_response_code(404); $target = __DIR__ . '/page/404.php';