예제 #1
0
파일: Config.php 프로젝트: piwik/piwik
 /**
  * Dump config
  *
  * @return string|null
  * @throws \Exception
  */
 public function dumpConfig()
 {
     $chain = $this->settings->getIniFileChain();
     $header = "; <?php exit; ?> DO NOT REMOVE THIS LINE\n";
     $header .= "; file automatically generated or modified by Piwik; you can manually override the default values in global.ini.php by redefining them in this file.\n";
     return $chain->dumpChanges($header);
 }
예제 #2
0
 public function getFromLocalConfig($name)
 {
     return $this->settings->getIniFileChain()->getFrom($this->settings->getPathLocal(), $name);
 }