commit | ca3dafb5ad0f04147128be596c872c156e176594 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Mon Oct 23 01:24:11 2006 +0000 |
committer | admin <devnull@localhost> | Mon Oct 23 01:24:11 2006 +0000 |
tree | e8f180959904a12aa610226d03af15c317c6eed2 | |
parent | 7591faf97bc152e385a154ffdf3c6a75d6b74bc9 [diff] [blame] |
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 7a1fd68..aaeee7f 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php
@@ -701,9 +701,9 @@ 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);