This commit is contained in:
2025-12-24 23:39:10 +01:00
parent 078de86502
commit b4a1b8865a

View File

@@ -3,8 +3,7 @@ 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, '/');