4
edits
No edit summary |
|||
| Line 56: | Line 56: | ||
* $dolibarr_main_db_name is known in code on variable $conf->db->name | * $dolibarr_main_db_name is known in code on variable $conf->db->name | ||
* $dolibarr_main_db_user is known in code on variable $conf->db->login | * $dolibarr_main_db_user is known in code on variable $conf->db->login | ||
* $dolibarr_main_db_pass is not known by code. It is read by script '''master.inc.php''' (called by every PHP | * $dolibarr_main_db_pass is not known by code. It is read by script '''master.inc.php''' (to be called by every PHP pages) that created on object connexion '''$db''' then variable $dolibarr_main_db_pass is erased. | ||
You development should only need to use constants DOL_DOCUMENT_ROOT (that indicate physical path of directory where permanent or temporary files are stored) and DOL_URL_ROOT (that indicate relative URL that is Dolibarr root). | You development should only need to use constants DOL_DOCUMENT_ROOT (that indicate physical path of directory where permanent or temporary files are stored) and DOL_URL_ROOT (that indicate relative URL that is Dolibarr root). | ||
edits