Drink it cold: Terminplanung für Kühlanhänger

This commit is contained in:
OpenCode 2026-11-13 00:35:39 +01:00
commit ec88c8ebac
55 changed files with 7091 additions and 0 deletions

18
tools/router.php Normal file
View file

@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
/**
* Router für den lokalen Entwicklungsserver:
* php -S 127.0.0.1:8099 -t web tools/router.php
*/
$path = (string) parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH);
if ($path === '/install.php') {
require __DIR__ . '/../install.php';
return;
}
$file = __DIR__ . '/../web' . $path;
if ($path !== '/' && is_file($file)) {
return false;
}
require __DIR__ . '/../web/index.php';