First setup: Difference between revisions

Jump to navigation Jump to search
m
Line 54: Line 54:
* MAIN_LOGTOHTML => If this constants is defined, it is possible to have logs inside pages by adding the parameter &logtohtml=1 into URL.
* MAIN_LOGTOHTML => If this constants is defined, it is possible to have logs inside pages by adding the parameter &logtohtml=1 into URL.


{{ToTranslate}}
* MAIN_AUTOFILL_DATE => If this constant is defined (to something else than 0), the date of invoice, proposal, order or payment are filled with current date. It is highly recommended to NOT ENABLE this feature. This create a lot of input errors with no validated data by users. This lead in bad values saved in database giving headaches when you have to do your accountancy reports ! However some users want it, so we provide it.
* MAIN_AUTOFILL_DATE => Si cette constante est définie (à autre chose que 0), la date de facture, propal, commande ou paiement est préremplie avec la date du jour. Il est fortement recommandé de NE PAS ACTIVER cette option, ceci générant une saisie sans validation de la part des utilisateurs sur les dates, ce qui se traduit par des données incorrectes enregistrées et un beau casse tête lorsqu'il faut faire sa compta ! Toutefois l'option reste disponible, à la demande de certains utilisateurs.


* MAIN_AUTOFILL_TOWNFROMZIP => Permet le remplissage automatique de la ville depuis le code postal. Javascript/Ajax ne doit pas etre désactivé pour que cette option fonctionne.
* MAIN_AUTOFILL_TOWNFROMZIP => This will fill automatically the town from a zip value. Javascript/Ajax must not be disabled for this feature to work.


* MAIN_MAIL_ALLOW_SENDMAIL_F => Sur les systèmes Linux ou BSD, la fonction d'envoi de mail de PHP utilise la commande sendmail local au serveur. Dans certains cas, l'email émetteur doit être passé en ligne de commande par l'option -f à sendmail. Cette option permet donc de demander à Dolibarr d'utiliser la fonction '''mail''' de php en intégrant l'option -f. Notons que dans la plupart des cas, même avec sendmail, l'email émetteur est bien géré car intégré avec les autres paramètres dans l'entête technique du mail. Cette option permet juste de passer outre certaines configurations qui rendent obligatoire l'option -f.
* MAIN_MAIL_ALLOW_SENDMAIL_F => On Linux or BSD system, PHP email function use the command sendmail local to server. In some cases, the sender email must be provided on command line of sendmail with option -f. This option is here to ask Dolibarr to call the function '''mail''' of PHP by adding value for the option -f. Note that in most cases, even with sendmail, sender email is correctly managed as it is added in the email technical header. This option is here only for rare setup of sendmail that ask the -f option to be mandatory.


* MAIN_MAIL_NO_FULL_EMAIL => Recipient email and sender are cleanded to be on form "<email>" instead of "Name <email>". This might solve problem of compatibility with very old mailers.
* MAIN_MAIL_NO_FULL_EMAIL => Recipient email and sender are cleaned to be on form "<email>" instead of "Name <email>". This might solve problem of compatibility with very old mailers.


* MAIN_MAIL_DEBUG => Write content with header of last mail into file dolibarr_mail.log into directory dolibarr_main_data_root.
* MAIN_MAIL_DEBUG => Write content with header of last mail into file dolibarr_mail.log into directory dolibarr_main_data_root.


* MAIN_USE_HOURMIN_IN_DATE_RANGE => Sur toutes les lignes de détail d'entité (facture, commande, contrat...), il est possible de définir l'heure en plus du jour sur les champs date de début et de fin de services.
* MAIN_USE_HOURMIN_IN_DATE_RANGE => On all entities lines (invoice, order, contract...), it is possible to add hour and minutes with date on fields "date start" and "date end".
 
* MAIN_SHOW_LOGO => Show logo of company of left menu.


* 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_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 borwser.
* 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_DISABLE_PDF_COMPRESSION => Disable PDF compression.

Navigation menu