Example #1
0
 public function __construct()
 {
     parent::__construct();
     if ($this->Profile_Model->loggedIn() === FALSE) {
         $this->Profile_Model->removePass();
         redirect(base_url());
     } elseif ($this->session->userdata('group') != '3') {
         redirect(base_url());
     } else {
         $this->load->library('form_validation');
         $this->data['siteOptions'] = $this->siteOptions;
     }
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
 }