diff --git a/main/plugin/html2fpdf/fpdf.php b/main/plugin/html2fpdf/fpdf.php index 6cd8b3616c..8c1985df0b 100644 --- a/main/plugin/html2fpdf/fpdf.php +++ b/main/plugin/html2fpdf/fpdf.php @@ -9,6 +9,8 @@ * You may use, modify and redistribute this software as you wish. * *******************************************************************************/ +include('../inc/global.inc.php'); + // Modified by Renato A.C. [html2fpdf.sf.net] // (look for 'EDITEI' in the code) @@ -267,7 +269,19 @@ function AliasNbPages($alias='{nb}') function Error($msg) { //Fatal error - die('FPDF error: '.$msg); + //die('FPDF error: '.$msg); // more info for debug + //Fatal error + die('