summaryrefslogtreecommitdiffstats
path: root/system/libraries/Loader.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-23 03:24:11 +0200
committeradmin <devnull@localhost>2006-10-23 03:24:11 +0200
commitca3dafb5ad0f04147128be596c872c156e176594 (patch)
treee8f180959904a12aa610226d03af15c317c6eed2 /system/libraries/Loader.php
parent7591faf97bc152e385a154ffdf3c6a75d6b74bc9 (diff)
Diffstat (limited to 'system/libraries/Loader.php')
-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);