public function before() { parent::before(); if (!Kohana::config('github')->login) { $msg = 'Please add your login credentials to the configuration file.<br/>'; $msg .= 'Look here for your login credentials: ' . html::anchor('https://github.com/account'); die($msg); } // github info can be passed by reference or set in config // Github::instance($format, $user, $token) $this->g = Github::instance(); }