Skip to content

Commit

Permalink
6.2.3 (2014-12-18)
Browse files Browse the repository at this point in the history
- New comment.
- Moved the K_PATH_IMAGES definition in tcpdf_autoconfig.
  • Loading branch information
nicolaasuni committed Dec 18, 2014
1 parent 47e8e3e commit d7071cb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.TXT
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
6.2.3 (2014-12-18)
- New comment.
- Moved the K_PATH_IMAGES definition in tcpdf_autoconfig.

6.2.2 (2014-12-18)
- Fixed mispelled words.
- Fixed version number.
Expand Down
2 changes: 1 addition & 1 deletion README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------

Name: TCPDF
Version: 6.2.2
Version: 6.2.3
Release date: 2014-12-18
Author: Nicola Asuni

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tecnick.com/tcpdf",
"version": "6.2.2",
"version": "6.2.3",
"homepage": "http://www.tcpdf.org/",
"type": "library",
"description": "TCPDF is a PHP class for generating PDF documents and barcodes.",
Expand Down
2 changes: 1 addition & 1 deletion include/tcpdf_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version.
* @private static
*/
private static $tcpdf_version = '6.2.2';
private static $tcpdf_version = '6.2.3';

/**
* String alias for total number of pages.
Expand Down
7 changes: 4 additions & 3 deletions tcpdf.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
//============================================================+
// File name : tcpdf.php
// Version : 6.2.2
// Version : 6.2.3
// Begin : 2002-08-03
// Last Update : 2014-12-18
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [email protected]
Expand Down Expand Up @@ -104,7 +104,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf
* @author Nicola Asuni
* @version 6.2.2
* @version 6.2.3
*/

// TCPDF configuration
Expand All @@ -128,7 +128,7 @@
* 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 6.2.2
* @version 6.2.3
* @author Nicola Asuni - [email protected]
*/
class TCPDF {
Expand Down Expand Up @@ -7540,6 +7540,7 @@ public function SetAbsXY($x, $y) {
* The method first calls Close() if necessary to terminate the document.
* @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.
* @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>
* @return string
* @public
* @since 1.0
* @see Close()
Expand Down
8 changes: 4 additions & 4 deletions tcpdf_autoconfig.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
//============================================================+
// File name : tcpdf_autoconfig.php
// Version : 1.1.0
// Version : 1.1.1
// Begin : 2013-05-16
// Last Update : 2014-12-10
// Last Update : 2014-12-18
// Authors : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [email protected]
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// -------------------------------------------------------------------
Expand Down Expand Up @@ -37,7 +37,7 @@
* @file
* Try to automatically configure some TCPDF constants if not defined.
* @package com.tecnick.tcpdf
* @version 1.1.0
* @version 1.1.1
*/

// DOCUMENT_ROOT fix for IIS Webserver
Expand Down Expand Up @@ -94,10 +94,10 @@
$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);
foreach ($tcpdf_images_dirs as $tcpdf_images_path) {
if (@file_exists($tcpdf_images_path)) {
define ('K_PATH_IMAGES', $tcpdf_images_path);
break;
}
}
define ('K_PATH_IMAGES', $tcpdf_images_path);
}

if (!defined('PDF_HEADER_LOGO')) {
Expand Down

0 comments on commit d7071cb

Please sign in to comment.