diff --git a/htdocs/conf/conf.php.example b/htdocs/conf/conf.php.example index 98cb5e96dc3..fdc28d2c1fc 100644 --- a/htdocs/conf/conf.php.example +++ b/htdocs/conf/conf.php.example @@ -199,10 +199,11 @@ $dolibarr_main_authentication='dolibarr'; // dolibarr_main_force_https // This parameter allows to force the HTTPS mode. // 0 = No forced redirect -// 1 = Force redirect to https until SCRIPT_URI start with https -// 2 = Force redirect to https until SERVER["HTTPS"] is 'on' +// 1 = Force redirect to https, until SCRIPT_URI start with https into response +// 2 = Force redirect to https, until SERVER["HTTPS"] is 'on' into response // Warning: If you enable this parameter, your web server must be configured -// to respond URL with https protocol. +// to respond URL with https protocol. Try different values (1,2) if you +// experience problems. // Default value: 0 // Possible values: 0, 1 or 2 // Examples: @@ -263,6 +264,17 @@ $dolibarr_main_db_prefix=''; // Examples: // $dolibarr_strict_mode=0; +// dolibarr_pdf_force_fpdf +// Set this to 1 to use the libray FPDF instead of TCPDF. FPDF is not embedded with Dolibarr, +// so you also have to uncomment line $dolibarr_lib_FPDF_PATH to provide path to FPDF library. +// Warning: FPDF does not support all features supported by TCPDF used by default. So using +// this library instead of TCPF will break some features like transparent logo, cyrillic, arab, +// and asiatic languages, total number of pages, ... +// Default value: 0 +// Examples: +// $dolibarr_pdf_force_fpdf=1; + + //################################# // Path to external libraries/fonts @@ -270,13 +282,14 @@ $dolibarr_main_db_prefix=''; // Value to overwrite path to use shared libraries instead of embedded one //$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; +//$dolibarr_lib_TCPDF_PATH='/usr/share/php/tcpdf'; //$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; +//$dolibarr_lib_FPDF_PATH='/usr/share/php/fpdf'; //$dolibarr_lib_GEOIP_PATH=''; //$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; //$dolibarr_lib_PHPEXCEL_PATH=''; //$dolibarr_lib_ODTPHP_PATH=''; //$dolibarr_lib_ODTPHP_PATHTOPCLZIP="/usr/share/php/libphp-pclzip"; -//$dolibarr_lib_TCPDF_PATH=''; // Value to overwrite path to use shared javascript instead of embedded one //$dolibarr_js_CKEDITOR='/javascript/ckeditor'; //$dolibarr_js_JQUERY='/javascript/jquery'; @@ -292,6 +305,7 @@ $dolibarr_main_db_prefix=''; //############################## // multicompany_transverse_mode +// Prerequisite: Need external module "multicompany" // Pyramidal (0): The rights and groups are managed in each entity, // users belong to the entity for their rights. // Transversal (1): The groups can belong only to the master entity