diff --git a/public/index.php b/public/index.php index ee31f68..50804e7 100644 --- a/public/index.php +++ b/public/index.php @@ -27,6 +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