From 16b60cb47a6c55b8af90b30dc322648aa5a27daf Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sat, 24 Jan 2026 01:44:35 +0100 Subject: [PATCH] sadsd --- public/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/index.php b/public/index.php index 04c65ea..adf98c3 100644 --- a/public/index.php +++ b/public/index.php @@ -59,8 +59,9 @@ if ($uriPath === '' || $uriPath === 'index' || $uriPath === 'index.php') { $skipLayout = false; $targetReal = realpath($target); -// Beispiel: alles unter /page/raw/* ohne Layout -if ($targetReal && str_starts_with($targetReal, realpath(__DIR__ . '/page/retool'))) { +// Beispiel: alles unter /page/retool/* ohne Layout +$retoolBase = realpath(__DIR__ . '/page/retool'); +if ($targetReal && $retoolBase && str_starts_with($targetReal, $retoolBase)) { $skipLayout = true; }