summaryrefslogtreecommitdiffstats
path: root/system/libraries/Loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Loader.php')
-rw-r--r--system/libraries/Loader.php2
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);