asdsad
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user