Update Output.php

file_exists(): open_basedir restriction in effect.   - php 8.2
This commit is contained in:
g7sim 2023-06-10 20:09:10 +02:00
parent 90365e4678
commit c61d9eb6e8
1 changed files with 2 additions and 1 deletions

View File

@ -263,7 +263,8 @@ namespace gp\tool{
$customizer_file = $layout_dir . '/customizer.php';
}
if( !file_exists($customizer_file) ){
$cust_path = stream_resolve_include_path($customizer_file);
if (!$cust_path || !is_readable($cust_path)) {
// msg('customizer file ' . htmlspecialchars($customizer_file) . ' does not exist'); // TODO remove
return [];
};