From ca3dafb5ad0f04147128be596c872c156e176594 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 23 Oct 2006 01:24:11 +0000 Subject: --- system/libraries/Loader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/libraries/Loader.php') diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 7a1fd6802..aaeee7f6b 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -701,9 +701,9 @@ class CI_Loader { function _ci_init_class($class, $prefix = '', $config = FALSE) { // Is there an associated config file for this class? - if ($config !== NULL) + if ($config === NULL) { - $cong = NULL; + $config = NULL; if (file_exists(APPPATH.'config/'.$class.EXT)) { include_once(APPPATH.'config/'.$class.EXT); -- cgit v1.2.3-24-g4f1b