forked from tecnickcom/TCPDF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- New comment. - Moved the K_PATH_IMAGES definition in tcpdf_autoconfig.
- Loading branch information
1 parent
47e8e3e
commit d7071cb
Showing
6 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
@@ -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 | ||
|
@@ -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 { | ||
|
@@ -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() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
// ------------------------------------------------------------------- | ||
|
@@ -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 | ||
|
@@ -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')) { | ||
|