/**
  * Initialise the controller, set up stores and services.
  */
 public function init()
 {
     parent::init();
     $parser = new Parser();
     $yaml = file_get_contents(PHPCI_CONFIG_FILE);
     $this->settings = $parser->parse($yaml);
 }
Example #2
0
 /**
  * Initialise the controller, set up stores and services.
  */
 public function init()
 {
     parent::init();
     $parser = new Parser();
     $yaml = file_get_contents(APPLICATION_PATH . 'PHPCI/config.yml');
     $this->settings = $parser->parse($yaml);
 }