31,034
edits
| Line 46: | Line 46: | ||
= Usage in coding = | = Usage in coding = | ||
Content of file must be used by developers by using predefined constants or the object '''$conf''' created by the | Content of file must be used by developers by using predefined constants or the object '''$conf''' created by the file '''master.inc.php''' or '''main.inc.php''' that must be included at beginning of every PHP program (master.inc.php for scripts or main.inc.php for pages). | ||
Your code must never open the config file and read it directly. This is not necessarly. | Your code must never open the config file and read it directly. This is not necessarly. | ||