diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-01-22 19:08:10 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-01-22 19:08:10 +0100 |
commit | ff943eb1a93421357acfe596062863c7d58f32c3 (patch) | |
tree | 023af83a3856cd4da6ef283cb6d4344efd4cfe36 /system | |
parent | f15a3c01995e99b3d46427ffa511d86637d9bb17 (diff) |
Changed the load protocol of Models to allow for extension.
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);
|