protected function init() { if (!\GO::config()->debug) { throw new \Exception("Developer controller can only be accessed in debug mode"); } return parent::init(); }
protected function init() { $this->view = new JsonView(); parent::init(); }