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 | |
parent | f15a3c01995e99b3d46427ffa511d86637d9bb17 (diff) |
Changed the load protocol of Models to allow for extension.
-rw-r--r-- | system/libraries/Loader.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 3 |
2 files changed, 3 insertions, 2 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);
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index cc76478af..d01a84237 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -98,7 +98,7 @@ Change Log <li>Core changes
<ul>
<li>Added ability to load multiple views, whose content will be appended to the output in the order loaded.</li>
- <li>Added the ability to <a href="./general/autoloader.html">auto-load</a> <a href="./general/models.html">Models</a></li>
+ <li>Added the ability to <a href="./general/autoloader.html">auto-load</a> <a href="./general/models.html">Models</a>.</li>
<li>Reorganized the URI and Routes classes for better clarity.</li>
<li>Added Compat.php to allow function overrides for older versions of PHP or PHP environments missing certain extensions / libraries</li>
<li>Added memory usage, GET, and URI string data to Profiler output.</li>
@@ -108,6 +108,7 @@ Change Log <li>Libraries
<ul>
+ <li>Changed the load protocol of Models to allow for extension.</li>
<li>Strengthened the Encryption library to help protect against man in the middle attacks when MCRYPT_MODE_CBC mode is used.</li>
<li>Added Flashdata variables, session_id regeneration and configurable session update times to the <a href="./libraries/sessions.html">Session class.</a></li>
<li>Added a language entry for valid_ip validation error.</li>
|