diff --git a/examples/example_019.php b/examples/example_019.php index 5c4a427..a1d5f08 100644 --- a/examples/example_019.php +++ b/examples/example_019.php @@ -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'); diff --git a/examples/tcpdf_include.php b/examples/tcpdf_include.php index 0b384a5..1ed5341 100644 --- a/examples/tcpdf_include.php +++ b/examples/tcpdf_include.php @@ -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) {