From 510384b503b713399d64153965726a776cde3271 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Mon, 2 Mar 2026 02:08:02 +0100 Subject: [PATCH] commit --- public/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 04c65ea..581e4a0 100755 --- a/public/index.php +++ b/public/index.php @@ -58,9 +58,10 @@ if ($uriPath === '' || $uriPath === 'index' || $uriPath === 'index.php') { // ------------------------------------ $skipLayout = false; $targetReal = realpath($target); +$retoolBase = realpath(__DIR__ . '/page/retool'); // 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; }