Changes

m
no edit summary
Line 27: Line 27:  
# $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 program) that created on object connexion $db then variable $dolibarr_main_db_pass is erased.
+
# $dolibarr_main_db_pass is not known by code. It is read by script '''master.inc.php''' (called by every PHP program) 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).