Reads the configuration file.
private static function UnbConfiguration::ReadFile ();
The configuration filename is specified by the $settingsFilename variable. The file will simply be included by PHP so it must be a correct and valid PHP source file. Its only task is to define some values in the $settings array. All values defined in that file will be copied to the UnbConfiguration local cache array. Using a normal PHP source file with its default filename extension ".php" has the advantage that it cannot be read by a web browser which would reveal secret information like a database password.
You can also initialise the settings by invoking Initialise instead of having them read from a separate PHP source file.
Member of class: UnbConfiguration
Implementation file: configuration.class.php, line 62
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.