commit | 825fab7370a28b6c05da126842dd8df25e51e026 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Aug 17 09:52:42 2015 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Aug 17 09:52:42 2015 +0300 |
tree | 5f0e39ab3d674a9d79464c31b005776433f4e8e7 | |
parent | d45180cb98cd987e2d5cce57a7965a87ee2aed7b [diff] [blame] |
Allow capitals in the middle of model names Requested in #4059
diff --git a/system/core/Loader.php b/system/core/Loader.php index 5de7a94..18e4c52 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php
@@ -290,7 +290,7 @@ load_class('Model', 'core'); } - $model = ucfirst(strtolower($model)); + $model = ucfirst($model); if ( ! class_exists($model)) { foreach ($this->_ci_model_paths as $mod_path)