i am trying to make a core class in my codeigniter but its giving error that Unable to locate the specified class: Loader.php.
My Core class is MY\_base.php and code is.

```
     class MY_base extends CI_Controller{

 public function load_header(){

     $this->load->model('mod_practice');
     $headData=$this->model->get_header();

$this->load->view('header',$headData); 

     }

 }

```

My model Mod\_practice.php code is

```
  class Mod_practice extends CI_Model{

 public function get_header(){

     $query = $this->db->get('header');
     $result = $query->result_array();
     return $result;

     }

 }

```

My home.php ( main controller) code is 
class Home extends MY\_loader{

```
function index(){

    parent::MY_base();

    }

}

```

but when i try to run Home controller its giving me the following error
Unable to locate the specified class: Loader.php.
Where can be the error ? Thanks in advance.