Charakterverwalter (westreiche_website) ergänzen, Website-Nav "Charaktere"

This commit is contained in:
torsten 2026-11-21 04:02:29 +01:00
parent d107f90c93
commit 01dae01c7c
84 changed files with 8915 additions and 17 deletions

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 . tools/router.php
*/
$path = (string) parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH);
if ($path === '/install.php') {
require __DIR__ . '/../install.php';
return;
}
$file = __DIR__ . '/..' . $path;
if ($path !== '/' && is_file($file)) {
return false;
}
require __DIR__ . '/../index.php';