diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 0ea8cc6..50a49e7 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,4 +1,7 @@ -5.9.187 (2012-09-15) +5.9.189 (2012-09-18) + - Bug item #3568969 "ini_get safe_mode error" was fixed. + +5.9.188 (2012-09-15) - A datamatrix barcode bug was fixed. 5.9.187 (2012-09-14) diff --git a/README.TXT b/README.TXT index 96c0360..cd528d9 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.9.188 -Release date: 2012-09-15 +Version: 5.9.189 +Release date: 2012-09-18 Author: Nicola Asuni Copyright (c) 2002-2012: diff --git a/composer.json b/composer.json index 203cf8a..98bfb68 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tcpdf/tcpdf", - "version": "5.9.188", + "version": "5.9.189", "homepage": "http://www.tcpdf.org/", "type": "library", "description": "TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions.", diff --git a/tcpdf.php b/tcpdf.php index 69ad558..f8562ac 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 5.9.188 + * @version 5.9.189 */ // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. @@ -151,7 +151,7 @@ require_once(dirname(__FILE__).'/config/tcpdf_config.php'); * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
* @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 5.9.188 + * @version 5.9.189 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -162,7 +162,7 @@ class TCPDF { * Current TCPDF version. * @private */ - private $tcpdf_version = '5.9.188'; + private $tcpdf_version = '5.9.189'; // Protected properties @@ -7926,7 +7926,7 @@ class TCPDF { curl_setopt($cs, CURLOPT_BINARYTRANSFER, true); curl_setopt($cs, CURLOPT_FAILONERROR, true); curl_setopt($cs, CURLOPT_RETURNTRANSFER, true); - if ((ini_get('open_basedir') == '') AND (ini_get('safe_mode') == 'Off')) { + if ((ini_get('open_basedir') == '') AND (!ini_get('safe_mode'))) { curl_setopt($cs, CURLOPT_FOLLOWLOCATION, true); } curl_setopt($cs, CURLOPT_CONNECTTIMEOUT, 5);