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