Skip to content
Snippets Groups Projects
Commit 7ceb3cb6 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX Avoid error 500 if phpexcel is disabled

parent ffcfe305
Branches master
No related tags found
No related merge requests found
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
*/ */
// include class for decoding filters // include class for decoding filters
require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php'); if (defined('TCPDF_PATH')) require_once(constant('TCPDF_PATH').'/include/tcpdf_filters.php');
else require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php');
if (!defined ('PDF_TYPE_NULL')) if (!defined ('PDF_TYPE_NULL'))
define ('PDF_TYPE_NULL', 0); define ('PDF_TYPE_NULL', 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment