diff --git a/include/constant.php b/include/constant.php index 7397b443f..655e629ec 100644 --- a/include/constant.php +++ b/include/constant.php @@ -250,6 +250,10 @@ else define ('PDFTK','NOT'); } +// If it is not a mono folder it is a multi one +if ( !defined('MULTI')) { + define('MULTI',1); +} define ('JS_INFOBULLE','
diff --git a/include/lib/config_file.php b/include/lib/config_file.php index 94f18244d..f24379d5e 100644 --- a/include/lib/config_file.php +++ b/include/lib/config_file.php @@ -187,6 +187,9 @@ function display_file_config($p_array,$from_setup=1,$p_os=1) print ( '// define ("NOALYSS_INCLUDE","");'); print ("\r\n"); print ( '// define ("NOALYSS_TEMPLATE","");'); + print ( "// Fix an issue with PDF when exporting receipt in PDF in ANCGL"."\r\n"); + print ( '// define ("FIX_BROKEN_PDF","NO");'); + print ("\r\n"); print ("\r\n"); print ("\r\n"); print ("\r\n");