From 689d41c1860e372fc3a3178be075d5573e520cdc Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 24 Mar 2014 17:28:40 +0200 Subject: Yet another modification of CI_Loader::_ci_autoload() --- system/core/Loader.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system') 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); } } -- cgit v1.2.3-24-g4f1b