diff options
-rw-r--r-- | system/core/Loader.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index 087d37762..9169a1252 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -1215,10 +1215,9 @@ class CI_Loader { // Load any custom config file if (count($autoload['config']) > 0) { - $CFG =& get_instance()->config; foreach ($autoload['config'] as $val) { - $CFG->load($val); + $this->config($val); } } |