[eluser]MPress[/eluser]
Here's a temporary fix until this issue is resolved. Put this in a base controller:
*edit*
hmmm, only seems to work if $this->model('arg') is called after a $this->load->model('arg'). Something weird is going on.
Will look into..
Okay, I see now. The Loader class is handled differently under PHP 4 and PHP 5...
OKAY. If you want you can do something like this:
Code:
class ApplicationLoader extends CI_Loader{
function ApplicationLoader(){
parent::CI_Loader();
}
function model($model, $name = '', $db_conn = FALSE){
parent::model($model, $name, $db_conn);
parent::_ci_assign_to_models();
}
}
Or don't. I really don't care anymore.