$autoload['model'] isn't loading models

The only way that I can load models is through $this->load->model('modelname);

Anyone experience this issue?

Also, if I load a model, within a model, it is just ignored and not loaded.

I added:
function __construct() {
        $CI =& get_instance();

to the constructor of the model I'm currently working in. I still get the same error message:

Quote:Unable to locate the model you have specified: fileops

when I reference it likes this:

$pdf = $CI->fileOps->uploadPDF('pdf');

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.