Files
Ty Clifford b7eaa81501 -
2026-06-14 15:25:31 -04:00

13 lines
228 B
PHP

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