summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 5747b7918..087d37762 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1215,7 +1215,7 @@ class CI_Loader {
// Load any custom config file
if (count($autoload['config']) > 0)
{
- $CFG =& load_class('Config', 'core');
+ $CFG =& get_instance()->config;
foreach ($autoload['config'] as $val)
{
$CFG->load($val);