Files
2026-10-11 04:30:05 +03:00

11 lines
220 B
PHP

<?php
declare(strict_types=1);
$path = parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH);
if (is_string($path) && $path !== '/' && is_file(__DIR__ . $path)) {
return false;
}
require __DIR__ . '/index.php';