コード例 #1
0
 /**
  * Injects settings at runtime so that they override the content of local
  * .ini files and the corresponding overrides.
  *
  * @since 5.0
  * @param array $settings hash of settings organized under filename, block
  *        and variable, for instance:
  *        $settings['site.ini']['DatabaseSettings']['Server'] = '127.0.0.1';
  */
 static function injectSettings(array $settings)
 {
     self::$injectedSettings = $settings;
 }