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