This commit is contained in:
2025-12-24 23:42:34 +01:00
parent 2b1520d7cf
commit b5971e2efd

View File

@@ -19,7 +19,7 @@ if ($uriPath === '' || $uriPath === 'index' || $uriPath === 'index.php') {
$target = __DIR__ . '/page/index.php'; $target = __DIR__ . '/page/index.php';
} else { } else {
$base = __DIR__ . '/page/' . $uriPath; $base = __DIR__ . '/page/' . $uriPath;
echo $base;
// 1) Verzeichnis mit index.php // 1) Verzeichnis mit index.php
if (is_dir($base) && is_file($base . '/index.php')) { if (is_dir($base) && is_file($base . '/index.php')) {
$target = $base . '/index.php'; $target = $base . '/index.php';