summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/core/Loader.php')
-rw-r--r--system/core/Loader.php3
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);
}
}