Esempio n. 1
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper(array('form', 'url'));
     $this->load->library('form_validation');
     $this->load->library('tank_auth');
     $this->lang->load('tank_auth');
 }
Esempio n. 2
0
 function __construct()
 {
     parent::__construct();
     if (!$this->tank_auth->is_logged_in()) {
         $this->session->set_userdata(array('login_return' => $this->uri->uri_string()));
         redirect('/auth/login/');
     }
     $this->data['breadcrumbs'][] = array('url' => '/player/', 'text' => _('Players'));
 }
Esempio n. 3
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('array');
 }