[eluser]Unknown[/eluser]
I have been trying to figure out a way to load models from different directory other than "application/models" directory. I want to load my model from "application/modules".
I have tried the instructions by extending CI_Loader by following instructions provided here
but it is giving me error "Unable to locate the specified class: Model.php" whereas my core "Model.php" is there under "system/core" folder.
I have also tried to load model using
$this->load->model (APPPATH.'modules/mymodel.php');
but no success.
Is there any way i could load models from outside the "application/modules" folder ? Please advise .Thanks