Language and development rules: Difference between revisions

Jump to navigation Jump to search
Line 234: Line 234:


* Dolibarr must works even if Mysql option '''strict''' is active.
* Dolibarr must works even if Mysql option '''strict''' is active.
To activate it (recommanded when developping on Dolibarr), add the following line into the config file of your Mysql server (my.cnf)
To activate it (recommanded when developping on Dolibarr), add the following line into the config file of your Mysql server (my.cnf or my.ini)
<source lang="ini">
<source lang="ini">
sql-mode="STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY,NO_ZERO_DATE"
sql-mode="STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY,NO_ZERO_DATE"

Navigation menu