replace file_exists with is_file

This commit is contained in:
Dennis Eichhorn 2023-10-23 16:57:53 +00:00
parent 12fa0fb205
commit e3946d009a

View File

@ -1906,7 +1906,7 @@ class TCPDF_STATIC {
if (\strpos($filename, '://')) {
return false; // only support http and https wrappers for security reasons
}
return @\file_exists($filename);
return @\is_file($filename);
}
/**