Loading module/Oscar/src/Oscar/Controller/AbstractOscarController.php +7 −5 Original line number Diff line number Diff line Loading @@ -156,12 +156,14 @@ class AbstractOscarController extends AbstractActionController implements UseOsc protected function getEditableConfRoot(){ $path = $this->getYamlConfigPath(); if( file_exists($path) ) { $contentFile = file_get_contents($path); if ($contentFile) { $parser = new Parser(); return $parser->parse(file_get_contents($path)); } else { return []; } } return []; } protected function getEditableConfKey($key, $default = null){ $conf = $this->getEditableConfRoot(); Loading Loading
module/Oscar/src/Oscar/Controller/AbstractOscarController.php +7 −5 Original line number Diff line number Diff line Loading @@ -156,12 +156,14 @@ class AbstractOscarController extends AbstractActionController implements UseOsc protected function getEditableConfRoot(){ $path = $this->getYamlConfigPath(); if( file_exists($path) ) { $contentFile = file_get_contents($path); if ($contentFile) { $parser = new Parser(); return $parser->parse(file_get_contents($path)); } else { return []; } } return []; } protected function getEditableConfKey($key, $default = null){ $conf = $this->getEditableConfRoot(); Loading