31,003
edits
m (→Global options) |
m (→Global options) |
||
| Line 69: | Line 69: | ||
* MAIN_REMOVE_INSTALL_WARNING => Remove all security warning that appears to administrator users if URL /install is public. You shoud solve the problem if warning occurs instead of removing this warning. For this, put a file called install.lock into Dolibarr root directory. This will remove warning but also make the page /install not possible to use to protect your installation. | * MAIN_REMOVE_INSTALL_WARNING => Remove all security warning that appears to administrator users if URL /install is public. You shoud solve the problem if warning occurs instead of removing this warning. For this, put a file called install.lock into Dolibarr root directory. This will remove warning but also make the page /install not possible to use to protect your installation. | ||
* MAIN_OPTIMIZE_SPEED => Use some speed enhancements. | * MAIN_OPTIMIZE_SPEED => Use some speed enhancements. | ||
| Line 84: | Line 78: | ||
If value of constant has bit 1 set, Dolibarr will use shared memory to cache translation of language files. This means that only one language can be used (the one defined by first user that log after the Apache server reboot). | If value of constant has bit 1 set, Dolibarr will use shared memory to cache translation of language files. This means that only one language can be used (the one defined by first user that log after the Apache server reboot). | ||
* MAIN_INPUT_DESC_HEIGHT => Number of lines in input area of product lines when editing invoices, proposals, orders, ... | |||
== PDF Options == | |||
* MAIN_DISABLE_FORCE_SAVEAS => If your browser ask always to save downloaded files on disk (like PDF), try to add this option. File might appears directly into your browser. | |||
* MAIN_DISABLE_PDF_COMPRESSION => Disable PDF compression. | |||
* MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT => Hide all information about VAT on generated documents. | |||
* MAIN_USE_BACKGROUND_ON_PDF => Define this constant with short name of an image (example "myimage.jpg") that must be saved into directory "documents/mycompany/logos". This will add this background image into your generated PDF files. | * MAIN_USE_BACKGROUND_ON_PDF => Define this constant with short name of an image (example "myimage.jpg") that must be saved into directory "documents/mycompany/logos". This will add this background image into your generated PDF files. | ||
* MAIN_INVERT_SENDER_RECIPIENT => Invert sender and recipient in some PDF. | * MAIN_INVERT_SENDER_RECIPIENT => Invert sender and recipient in some PDF. | ||
* MAIN_PROFIDx_IN_ADDRESS => Show the professional ID number x in address on PDF documents. You must replace x by 1,2,3 or 4. | * MAIN_PROFIDx_IN_ADDRESS => Show the professional ID number x in address on PDF documents. You must replace x by 1,2,3 or 4. | ||