diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Loader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 721db3918..320a43a00 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -167,7 +167,7 @@ class CI_Loader { if ( ! class_exists('Model'))
{
- require_once(BASEPATH.'libraries/Model'.EXT);
+ load_class('Model', FALSE);
}
require_once(APPPATH.'models/'.$path.$model.EXT);
|