<?php

$path = parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH);
if (is_string($path) && is_file(__DIR__ . $path)) return false;
$_SERVER['PATH_INFO'] = $path;
require __DIR__ . '/index.php';
