This commit is contained in:
Laurent Destailleur 2020-02-03 06:31:40 +01:00
parent 7c35e9aaa8
commit 2813c9d4b4

View File

@ -6846,7 +6846,7 @@ class TCPDF {
}
// check if file exist and it is valid
if (!@TCPDF_STATIC::file_exists($file)) {
return false;
//return false;
}
if (($imsize = @getimagesize($file)) === FALSE) {
if (in_array($file, $this->imagekeys)) {