[eluser]Unknown[/eluser]
I have the following code in the controller where model loading is commented out as you can see
function foo()
{
//$this->load->model('user_model');
blah..
blah..
blah..
}
I do not have anything defined in autoload.php that would load models globally.
The problem is that the model appears loaded when I access the function via the controller. The model fetches stuff from the database so that part is doing ok. Weird! I would have expected it to fail since the model loading line above is commented.
I want to know from where the code is loading model is any.