mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
replace file_exists with is_file
This commit is contained in:
parent
12fa0fb205
commit
e3946d009a
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user