commit | 738b9e30404a56a8e2e8053f024550232b72ea09 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Feb 24 12:14:10 2016 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Wed Feb 24 12:18:22 2016 +0200 |
tree | 3fd573191b957bcfd7639ca591f3491abd9329f9 | |
parent | 86d2ec40b47f885a6d7e28b9dd519fac3332e7ae [diff] |
Merge pull request #4480 from versalle88/develop Changed class_exists() calls to ignore __autoload()
diff --git a/system/core/Loader.php b/system/core/Loader.php index 80de804..62781a7 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php
@@ -321,7 +321,7 @@ } $model = ucfirst($model); - if ( ! class_exists($model)) + if ( ! class_exists($model, FALSE)) { foreach ($this->_ci_model_paths as $mod_path) {