From a48f9f174c2575634bec1b2b4bbcd3eeca374ac5 Mon Sep 17 00:00:00 2001 From: Nicola Asuni Date: Sat, 16 Mar 2013 00:18:29 +0000 Subject: [PATCH] 5.9.209 (2013-03-15) - Image method was improved. --- tcpdf.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tcpdf.php b/tcpdf.php index ce65f82..13dff6f 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -7999,7 +7999,7 @@ class TCPDF { $imgdata = curl_exec($cs); curl_close($cs); } else { - $imgdata = @file_get_contents($file); + $imgdata = @file_get_contents($file); } } } @@ -25940,13 +25940,13 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: /** * Returns a temporary filename for caching object on filesystem. - * @param $name (string) prefix to add to filename + * @param $name (string) Prefix to add to the file name. * @return string filename. * @since 4.5.000 (2008-12-31) * @protected */ protected function getObjFilename($name) { - return tempnam(K_PATH_CACHE, $name.'_'.$this->file_id.'_'); + return tempnam(K_PATH_CACHE, $name.'_'); } /** @@ -27035,7 +27035,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: */ public function objclone($object) { if (($object instanceof Imagick) AND (version_compare(phpversion('imagick'), '3.0.1') !== 1)) { - // on the versions after 3.0.1 the clone() method was deprecated in favour of clone keyword + // on the versions after 3.0.1 the clone() method was deprecated in favour of clone keyword return @$object->clone(); } return @clone($object);