c52bc9b737
Added a dev/ folder which will hold all the needed files for local development.
12 lines
220 B
PHP
12 lines
220 B
PHP
<?php declare(strict_types=1);
|
|
|
|
$uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
|
|
|
$file = dirname(__DIR__) . '/public' . $uri;
|
|
|
|
if (is_file($file)) {
|
|
return false;
|
|
}
|
|
|
|
require dirname(__DIR__) . '/index.php';
|