sadsd
This commit is contained in:
@@ -59,8 +59,9 @@ if ($uriPath === '' || $uriPath === 'index' || $uriPath === 'index.php') {
|
|||||||
$skipLayout = false;
|
$skipLayout = false;
|
||||||
$targetReal = realpath($target);
|
$targetReal = realpath($target);
|
||||||
|
|
||||||
// Beispiel: alles unter /page/raw/* ohne Layout
|
// Beispiel: alles unter /page/retool/* ohne Layout
|
||||||
if ($targetReal && str_starts_with($targetReal, realpath(__DIR__ . '/page/retool'))) {
|
$retoolBase = realpath(__DIR__ . '/page/retool');
|
||||||
|
if ($targetReal && $retoolBase && str_starts_with($targetReal, $retoolBase)) {
|
||||||
$skipLayout = true;
|
$skipLayout = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user