Configuration file: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 15: Line 15:
Dolibarr provide a model of file named '''conf/conf.php.example''' where each parameter is commented.
Dolibarr provide a model of file named '''conf/conf.php.example''' where each parameter is commented.


= Read/Write file =
This file must never be modified, never read directly by any Dolibarr feature.
This file must never be modified, never read directly by any Dolibarr feature.


It is created by the install or update process of Dolibarr (install/index.php) that is the only process allowed to make actions on this file.
It is created by the install or update process of Dolibarr (install/index.php) that is the only process allowed to make actions on this file.


= Usage in coding =
Content of file must be used by developers by using predefined constants or the object '''$conf''' created by the script '''master.inc.php''' that must be called at beginning of every PHP program (scripts or pages).
Content of file must be used by developers by using predefined constants or the object '''$conf''' created by the script '''master.inc.php''' that must be called at beginning of every PHP program (scripts or pages).


Navigation menu