This commit is contained in:
2026-03-02 02:08:02 +01:00
parent 674dfe0968
commit 510384b503

View File

@@ -58,9 +58,10 @@ if ($uriPath === '' || $uriPath === 'index' || $uriPath === 'index.php') {
// ------------------------------------ // ------------------------------------
$skipLayout = false; $skipLayout = false;
$targetReal = realpath($target); $targetReal = realpath($target);
$retoolBase = realpath(__DIR__ . '/page/retool');
// Beispiel: alles unter /page/raw/* ohne Layout // Beispiel: alles unter /page/raw/* ohne Layout
if ($targetReal && str_starts_with($targetReal, realpath(__DIR__ . '/page/retool'))) { if ($targetReal && $retoolBase && str_starts_with($targetReal, $retoolBase)) {
$skipLayout = true; $skipLayout = true;
} }