5.9.189 (2012-09-18)

- Bug item #3568969 "ini_get safe_mode error" was fixed.
This commit is contained in:
Nicola Asuni 2012-09-18 19:28:04 +01:00
parent 56a9f4186e
commit 16f873d904
4 changed files with 13 additions and 10 deletions

View File

@ -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)

View File

@ -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:

View File

@ -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.",

View File

@ -1,9 +1,9 @@
<?php
//============================================================+
// File name : tcpdf.php
// Version : 5.9.188
// Version : 5.9.189
// Begin : 2002-08-03
// Last Update : 2012-09-15
// Last Update : 2012-09-18
// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - info@tecnick.com
// License : http://www.tecnick.com/pagefiles/tcpdf/LICENSE.TXT GNU-LGPLv3
// -------------------------------------------------------------------
@ -139,7 +139,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @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.<br>
* @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);