From 078de86502758d708131c4c64bf68cc15a1aeb5c Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Tue, 23 Dec 2025 01:01:10 +0100 Subject: [PATCH] asdsad --- public/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.php b/public/index.php index 50804e7..fee55d1 100644 --- a/public/index.php +++ b/public/index.php @@ -3,7 +3,8 @@ declare(strict_types=1); // boot application (config, autoload, services) require_once __DIR__ . '/../config/fileload.php'; - + echo "target existiert"; + exit; $uriPath = parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH) ?: '/'; $uriPath = preg_replace('~/{2,}~', '/', $uriPath); $uriPath = trim($uriPath, '/'); @@ -26,8 +27,7 @@ if ($uriPath === '' || $uriPath === 'index' || $uriPath === 'index.php') { } // 2) Datei elseif (is_file($base . '.php')) { - echo "target existiert"; - exit; + $target = $base . '.php'; } // 3) 404