Update 3rd party libraries

Forgot these two
This commit is contained in:
2018-09-18 19:30:32 -04:00
parent 87feac65a2
commit 78e584c1b9
11 changed files with 96 additions and 204 deletions

View File

@ -161,12 +161,8 @@ class TCPDF_IMAGES {
*/
public static function _parsejpeg($file) {
// check if is a local file
if (!@file_exists($file)) {
// try to encode spaces on filename
$tfile = str_replace(' ', '%20', $file);
if (@file_exists($tfile)) {
$file = $tfile;
}
if (!@TCPDF_STATIC::file_exists($file)) {
return false;
}
$a = getimagesize($file);
if (empty($a)) {