diff --git a/tcpdf/include/TCPDF_STATIC.php b/tcpdf/include/TCPDF_STATIC.php index 033da28..0d3f89e 100644 --- a/tcpdf/include/TCPDF_STATIC.php +++ b/tcpdf/include/TCPDF_STATIC.php @@ -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); } /**