zwischenparkung
This commit is contained in:
1 parent
22a43fdef7
commit
ee192a15e7
15 files changed
+5365
-9
No files matched your search
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
// Router for PHP's built-in server (replaces .htaccess rewrite rules).
|
||||
// Static files are served directly; everything else goes to index.php.
|
||||
$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';
|
||||
Reference in new issue
Block a user