Welcome Guest, Not a member yet? Register   Sign In
unable to load models when extends controller HMVC
#1

[eluser]huuray[/eluser]
Code:
//User.php
class User extends MY_Controller {

    public function __construct()
    {
        parent::MY_Controller();
        $this->load->model('mdl_user');
        }
}


Code:
//MY_Controller.php
class MY_Controller extends Controller{

    function MY_Controller()
    {
        parent::Controller();
    }
}


Quote:An Error Was Encountered

Unable to locate the model you have specified: mdl_user
im using HMVC


Messages In This Thread
unable to load models when extends controller HMVC - by El Forum - 08-02-2010, 08:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB