summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Loader.php4
1 files changed, 2 insertions, 2 deletions
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);