| @@ -5,11 +5,11 @@ | ||
| 5 | 5 | // Last Update : 2014-12-11 |
| 6 | 6 | // |
| 7 | 7 | // Description : Configuration file for TCPDF. |
| 8 | 8 | // Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [email protected] |
| 9 | -// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) | |
| 9 | +// License : GNU-LGPL v3 (https://www.gnu.org/copyleft/lesser.html) | |
| 10 | 10 | // ------------------------------------------------------------------- |
| 11 | -// Copyright (C) 2004-2014 Nicola Asuni - Tecnick.com LTD | |
| 11 | +// Copyright (C) 2004-2014 2026 Nicola Asuni - Tecnick.com LTD | |
| 12 | 12 | // |
| 13 | 13 | // This file is part of TCPDF software library. |
| 14 | 14 | // |
| 15 | 15 | // TCPDF is free software: you can redistribute it and/or modify it |
| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 23 | 23 | // See the GNU Lesser General Public License for more details. |
| 24 | 24 | // |
| 25 | 25 | // You should have received a copy of the GNU Lesser General Public License |
| 26 | -// along with TCPDF. If not, see <http://www.gnu.org/licenses/>. | |
| 26 | +// along with TCPDF. If not, see <https://www.gnu.org/licenses/>. | |
| 27 | 27 | // |
| 28 | 28 | // See LICENSE.TXT file for more information. |
| 29 | 29 | //============================================================+ |
| 30 | 30 | |
| @@ -113,9 +113,9 @@ | ||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * Header description string. |
| 116 | 116 | */ |
| 117 | -define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"); | |
| 117 | +define ('PDF_HEADER_STRING', "by2026 Nicola Asuni - Tecnick.com\nwww.tcpdf.org"); | |
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | 120 | * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]. |
| 121 | 121 | */ |
| @@ -210,8 +210,16 @@ | ||
| 210 | 210 | * If true allows to call TCPDF methods using HTML syntax |
| 211 | 211 | * IMPORTANT: For security reason, disable this feature if you are printing user HTML content. |
| 212 | 212 | */ |
| 213 | 213 | define('K_TCPDF_CALLS_IN_HTML', false); |
| 214 | + | |
| 215 | +/** | |
| 216 | + * List of TCPDF methods that are allowed to be called using HTML syntax. | |
| 217 | + * Note: each method name must end with surrounded with | (pipe) character. | |
| 218 | + * The constant K_TCPDF_CALLS_IN_HTML must be set to true. | |
| 219 | + * IMPORTANT: For security reason, disable this feature if you are allowing user HTML content. | |
| 220 | + */ | |
| 221 | +define('K_ALLOWED_TCPDF_TAGS', ''); | |
| 214 | 222 | |
| 215 | 223 | /** |
| 216 | 224 | * If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution. |
| 217 | 225 | */ |