コード例 #1
0
ファイル: Config.php プロジェクト: nomidi/sapphire
 /**
  * Add another manifest to the list of config manifests to search through.
  *
  * WARNING: Config manifests to not merge entries, and do not solve before/after rules inter-manifest -
  * instead, the last manifest to be added always wins
  */
 public function pushConfigManifest(SS_ConfigManifest $manifest)
 {
     array_unshift($this->manifests, $manifest->yamlConfig);
     // @todo: Do anything with these. They're for caching after config.php has executed
     $this->collectConfigPHPSettings = true;
     $this->configPHPIsSafe = false;
     $manifest->activateConfig();
     $this->collectConfigPHPSettings = false;
 }