From e3946d009a0d3a69ac9cce3025939307965b261c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 23 Oct 2023 16:57:53 +0000 Subject: [PATCH] replace file_exists with is_file --- tcpdf/include/TCPDF_STATIC.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**