It get an open_basedir error if I'm using kirby-twig on an Plesk Onyx installation with activated open_basedir restrictions. I'm not able to change the default value of {WEBSPACEROOT}{/}{:}{TMP}{/} (role restrictions).
It works fine if I remove these lines in site/plugins/kirby-twig/src/classes/LoaderFilesystem.php:
It get an
open_basedir
error if I'm using kirby-twig on an Plesk Onyx installation with activatedopen_basedir
restrictions. I'm not able to change the default value of{WEBSPACEROOT}{/}{:}{TMP}{/}
(role restrictions).It works fine if I remove these lines in
site/plugins/kirby-twig/src/classes/LoaderFilesystem.php
:Line 219:
$templatevariants[] = $shortname . '/' . $templatename . '.twig';
Line 229:
if (is_file($path.'/'.$templatevariant)) {
Line 335:
}