function MY_Controller()
 {
     parent::CI_Controller();
 }
Example #2
0
 function _construct()
 {
     parent::CI_Controller();
     $this->is_logged_in();
 }
Example #3
0
 function Index()
 {
     //if i remove this parent::__construct(); the error is gone
     parent::CI_Controller();
     $this->load->view('index');
 }