32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-11-25 05:57:32 +00:00

6.0.017 (2013-05-16)

- The command line tool tcpdf_addfont.php was improved.
- The php logic was removed from configuration files that now contains only constant defines.
- The tcpdf_autoconfig.php file was added to automatically set missing configuration values.
This commit is contained in:
nicolaasuni 2013-05-16 17:46:06 +01:00
parent bb21d56f94
commit 246dc8bc3a
2 changed files with 3 additions and 5 deletions

View File

@ -24,11 +24,6 @@
* @since 2008-03-04
*/
// load alternative config file
require_once('config/tcpdf_config_alt.php');
// Include the main TCPDF library (search for installation path).
require_once('tcpdf_include.php');

View File

@ -23,6 +23,9 @@
* @since 2013-05-14
*/
// always load alternative config file for examples
require_once('config/tcpdf_config_alt.php');
// Include the main TCPDF library (search the library on the following directories).
$tcpdf_include_dirs = array(realpath('../tcpdf.php'), '/usr/share/php/tcpdf/tcpdf.php', '/usr/share/tcpdf/tcpdf.php', '/usr/share/php-tcpdf/tcpdf.php', '/var/www/tcpdf/tcpdf.php', '/var/www/html/tcpdf/tcpdf.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf.php');
foreach ($tcpdf_include_dirs as $tcpdf_include_path) {