Silence file_get_contents call
Since an earlier change already made the existence of config files not required we do not care about any E_WARNING or notice emitted by "file_get_contents".
This commit is contained in:
parent
04ff2e271a
commit
d54bfddee4
|
@ -101,7 +101,7 @@ class PreservingIniWriter extends Zend_Config_Writer_FileAbstract
|
|||
$this->_config = $this->normalizeKeys($this->_config);
|
||||
|
||||
$newconfig = $this->_config;
|
||||
$editor = new IniEditor(file_get_contents($this->_filename), $this->options);
|
||||
$editor = new IniEditor(@file_get_contents($this->_filename), $this->options);
|
||||
$this->diffConfigs($oldconfig, $newconfig, $editor);
|
||||
$this->updateSectionOrder($newconfig, $editor);
|
||||
return $editor->getText();
|
||||
|
|
Loading…
Reference in New Issue