예제 #1
0
 /**
  * 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);
 }
예제 #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);
 }