From 2fe71da251d80212c9bb5c2f8ba88db9ccf27812 Mon Sep 17 00:00:00 2001 From: baumschullehrer Date: Thu, 23 Aug 2018 18:55:49 +0200 Subject: [PATCH] The path to tcpdf_filters.php can be parameterized --- tcpdi_parser.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tcpdi_parser.php b/tcpdi_parser.php index 1e26664..abf7940 100644 --- a/tcpdi_parser.php +++ b/tcpdi_parser.php @@ -48,7 +48,10 @@ */ // include class for decoding filters -require_once(dirname(__FILE__).'/include/tcpdf_filters.php'); +if(defined('TCPDI_PARSER_FILTERS')) + require_once(TCPDI_PARSER_FILTERS); +else + require_once(dirname(__FILE__).'/include/tcpdf_filters.php'); if (!defined ('PDF_TYPE_NULL')) define ('PDF_TYPE_NULL', 0);