mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-24 15:19:12 +01:00
Update Output.php
file_exists(): open_basedir restriction in effect. - php 8.2
This commit is contained in:
parent
90365e4678
commit
c61d9eb6e8
1 changed files with 2 additions and 1 deletions
|
@ -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 [];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue