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