Language and development rules: Difference between revisions

Jump to navigation Jump to search
m
Line 274: Line 274:


* Dolibarr MUST work even if Mysql option '''strict''' is active.
* Dolibarr MUST work even if Mysql option '''strict''' is active.
To activate it (recommended when developing on Dolibarr), add the following line into the config file of your Mysql server (my.cnf or my.ini)
To activate it (required when developing 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