diff options
author | Andrey Andreev <narf@devilix.net> | 2015-08-17 08:52:42 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-08-17 08:52:42 +0200 |
commit | 825fab7370a28b6c05da126842dd8df25e51e026 (patch) | |
tree | 5f0e39ab3d674a9d79464c31b005776433f4e8e7 /system | |
parent | d45180cb98cd987e2d5cce57a7965a87ee2aed7b (diff) |
Allow capitals in the middle of model names
Requested in #4059
Diffstat (limited to 'system')
-rw-r--r-- | system/core/Loader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index 5de7a9483..18e4c5287 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -290,7 +290,7 @@ class CI_Loader { load_class('Model', 'core'); } - $model = ucfirst(strtolower($model)); + $model = ucfirst($model); if ( ! class_exists($model)) { foreach ($this->_ci_model_paths as $mod_path) |