[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/05: Add FIX_BROKEN_PDF in constant.php by
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/05: Add FIX_BROKEN_PDF in constant.php by default it is NO |
Date: |
Tue, 02 Feb 2016 14:36:18 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 2a06df770e6a05e709a88a60758de74712fdfbd8
Author: Dany De Bontridder <address@hidden>
Date: Sat Jan 30 19:11:50 2016 +0100
Add FIX_BROKEN_PDF in constant.php by default it is NO
---
include/constant.php | 4 ++++
include/lib/config_file.php | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/constant.php b/include/constant.php
index 7397b44..655e629 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','
<DIV id="bulle" class="infobulle"></DIV>
diff --git a/include/lib/config_file.php b/include/lib/config_file.php
index 94f1824..f24379d 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");
- [Noalyss-commit] [noalyss] branch master updated (759dfab -> 12c15fb), Dany De Bontridder, 2016/02/02
- [Noalyss-commit] [noalyss] 02/05: new tool for developing, Dany De Bontridder, 2016/02/02
- [Noalyss-commit] [noalyss] 04/05: Add FIX_BROKEN_PDF in constant.php by default it is NO,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/05: Improve dev tool, Dany De Bontridder, 2016/02/02
- [Noalyss-commit] [noalyss] 05/05: Fix problem with PDF , the forced conversion to image and back to PDF doesnt work properly, it works better with ps2pdf and pdf2ps, Dany De Bontridder, 2016/02/02
- [Noalyss-commit] [noalyss] 01/05: new tool for developing, Dany De Bontridder, 2016/02/02