Esempio n. 1
0
 /**
  * Constructor method
  * */
 public function __construct()
 {
     parent::__construct();
     if (!$this->data['auth']) {
         redirect(base_url() . $this->data['lang']);
     }
 }
Esempio n. 2
0
 /**
  * Constructor method
  * */
 public function __construct()
 {
     parent::__construct();
     if ($this->session->is_admin !== false) {
         redirect(base_url('admin'));
     }
     $this->load->model('admin_model');
 }
Esempio n. 3
0
 /**
  * Constructor method
  * */
 public function __construct()
 {
     parent::__construct();
     if (!$this->data['auth']) {
         redirect(base_url($this->data['lang']));
     }
     $this->collect_date();
 }
Esempio n. 4
0
 /**
  * Constructor method
  * */
 public function __construct()
 {
     parent::__construct();
     if (!$this->data['auth']) {
         redirect(base_url($this->data['lang']));
     }
     $this->load->model('rating_model');
 }
Esempio n. 5
0
 /**
  * Constructor method
  * */
 public function __constructor()
 {
     parent::__construct();
 }
Esempio n. 6
0
 /**
  * Constructor method
  * */
 public function __construct()
 {
     parent::__construct();
     $this->session->set_userdata('form_valid', null);
 }
Esempio n. 7
0
 /**
  * Constructor method
  * */
 public function __construct()
 {
     parent::__construct();
     $this->load->model('user_model');
 }