From b9c8ff7302e02581de998e798fdfc10ec26259e0 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Sun, 24 Nov 2013 18:58:06 +0000 Subject: [PATCH] 6.0.048 (2013-11-24) - SVG vars are now reset in ImageSVG() method. --- include/tcpdf_images.php | 10 +++++----- include/tcpdf_static.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/tcpdf_images.php b/include/tcpdf_images.php index c43eb69..c1e3141 100644 --- a/include/tcpdf_images.php +++ b/include/tcpdf_images.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 1.0.001 + * @version 1.0.002 */ /** @@ -46,7 +46,7 @@ * Static image methods used by the TCPDF class. * @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 1.0.000 + * @version 1.0.002 * @author Nicola Asuni - info@tecnick.com */ class TCPDF_IMAGES { @@ -235,7 +235,7 @@ class TCPDF_IMAGES { * @public static */ public static function _parsepng($file) { - $f = fopen($file, 'rb'); + $f = @fopen($file, 'rb'); if ($f === false) { // Can't open image file return false; diff --git a/include/tcpdf_static.php b/include/tcpdf_static.php index 55c8b9e..4b6e430 100644 --- a/include/tcpdf_static.php +++ b/include/tcpdf_static.php @@ -55,7 +55,7 @@ class TCPDF_STATIC { * Current TCPDF version. * @private static */ - private static $tcpdf_version = '6.0.047'; + private static $tcpdf_version = '6.0.048'; /** * String alias for total number of pages.