Skip to content

Commit d7071cb

Browse files
committed
6.2.3 (2014-12-18)
- New comment. - Moved the K_PATH_IMAGES definition in tcpdf_autoconfig.
1 parent 47e8e3e commit d7071cb

6 files changed

+15
-10
lines changed

CHANGELOG.TXT

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
6.2.3 (2014-12-18)
2+
- New comment.
3+
- Moved the K_PATH_IMAGES definition in tcpdf_autoconfig.
4+
15
6.2.2 (2014-12-18)
26
- Fixed mispelled words.
37
- Fixed version number.

README.TXT

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076
88
------------------------------------------------------------
99

1010
Name: TCPDF
11-
Version: 6.2.2
11+
Version: 6.2.3
1212
Release date: 2014-12-18
1313
Author: Nicola Asuni
1414

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tecnick.com/tcpdf",
3-
"version": "6.2.2",
3+
"version": "6.2.3",
44
"homepage": "http://www.tcpdf.org/",
55
"type": "library",
66
"description": "TCPDF is a PHP class for generating PDF documents and barcodes.",

include/tcpdf_static.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class TCPDF_STATIC {
5555
* Current TCPDF version.
5656
* @private static
5757
*/
58-
private static $tcpdf_version = '6.2.2';
58+
private static $tcpdf_version = '6.2.3';
5959

6060
/**
6161
* String alias for total number of pages.

tcpdf.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
//============================================================+
33
// File name : tcpdf.php
4-
// Version : 6.2.2
4+
// Version : 6.2.3
55
// Begin : 2002-08-03
66
// Last Update : 2014-12-18
77
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [email protected]
@@ -104,7 +104,7 @@
104104
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
105105
* @package com.tecnick.tcpdf
106106
* @author Nicola Asuni
107-
* @version 6.2.2
107+
* @version 6.2.3
108108
*/
109109

110110
// TCPDF configuration
@@ -128,7 +128,7 @@
128128
* 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>
129129
* @package com.tecnick.tcpdf
130130
* @brief PHP class for generating PDF documents without requiring external extensions.
131-
* @version 6.2.2
131+
* @version 6.2.3
132132
* @author Nicola Asuni - [email protected]
133133
*/
134134
class TCPDF {
@@ -7540,6 +7540,7 @@ public function SetAbsXY($x, $y) {
75407540
* The method first calls Close() if necessary to terminate the document.
75417541
* @param $name (string) The name of the file when saved. Note that special characters are removed and blanks characters are replaced with the underscore character.
75427542
* @param $dest (string) Destination where to send the document. It can take one of the following values:<ul><li>I: send the file inline to the browser (default). The plug-in is used if available. The name given by name is used when one selects the "Save as" option on the link generating the PDF.</li><li>D: send to the browser and force a file download with the name given by name.</li><li>F: save to a local server file with the name given by name.</li><li>S: return the document as a string (name is ignored).</li><li>FI: equivalent to F + I option</li><li>FD: equivalent to F + D option</li><li>E: return the document as base64 mime multi-part email attachment (RFC 2045)</li></ul>
7543+
* @return string
75437544
* @public
75447545
* @since 1.0
75457546
* @see Close()

tcpdf_autoconfig.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
//============================================================+
33
// File name : tcpdf_autoconfig.php
4-
// Version : 1.1.0
4+
// Version : 1.1.1
55
// Begin : 2013-05-16
6-
// Last Update : 2014-12-10
6+
// Last Update : 2014-12-18
77
// Authors : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [email protected]
88
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
99
// -------------------------------------------------------------------
@@ -37,7 +37,7 @@
3737
* @file
3838
* Try to automatically configure some TCPDF constants if not defined.
3939
* @package com.tecnick.tcpdf
40-
* @version 1.1.0
40+
* @version 1.1.1
4141
*/
4242

4343
// DOCUMENT_ROOT fix for IIS Webserver
@@ -94,10 +94,10 @@
9494
$tcpdf_images_dirs = array(K_PATH_MAIN.'examples/images/', K_PATH_MAIN.'images/', '/usr/share/doc/php-tcpdf/examples/images/', '/usr/share/doc/tcpdf/examples/images/', '/usr/share/doc/php/tcpdf/examples/images/', '/var/www/tcpdf/images/', '/var/www/html/tcpdf/images/', '/usr/local/apache2/htdocs/tcpdf/images/', K_PATH_MAIN);
9595
foreach ($tcpdf_images_dirs as $tcpdf_images_path) {
9696
if (@file_exists($tcpdf_images_path)) {
97+
define ('K_PATH_IMAGES', $tcpdf_images_path);
9798
break;
9899
}
99100
}
100-
define ('K_PATH_IMAGES', $tcpdf_images_path);
101101
}
102102

103103
if (!defined('PDF_HEADER_LOGO')) {

0 commit comments

Comments
 (0)