Example #1
0
 /**
  * Load an ini file into the configuration settings
  *
  * Loading multiple files will merge the options together, duplicated option
  * names will be overriden.
  *
  * <b>Usage</b>
  * @code
  * Configuration::Load( 'application.ini' );
  * @endcode
  *
  * @param string $ini_file
  *      Path to an ini file
  * @return void
  */
 public static function Load($ini_file)
 {
     if (is_null(self::$_settings)) {
         self::$_settings = new Configuration();
     }
     self::$_settings->_loadedIniFiles[] = $ini_file;
     self::$_settings->_add(parse_ini_file($ini_file, true));
 }