commit | 9a661810d2b9b96c458c1f369f0059b31012b6a8 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Mon Oct 16 19:02:48 2006 +0000 |
committer | admin <devnull@localhost> | Mon Oct 16 19:02:48 2006 +0000 |
tree | 76de207fe698e2e217821622a55bd313083128a3 | |
parent | b06d69f03f5149877390d7e99882006a141268ff [diff] [blame] |
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 7bf1160..b402464 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php
@@ -703,9 +703,8 @@ function _ci_init_class($class, $prefix = '', $config = NULL) { // Is there an associated config file for this class? - if ($config !== NULL) - { - $config = NULL; + if ($config === NULL) + { if (file_exists(APPPATH.'config/'.$class.EXT)) { include_once(APPPATH.'config/'.$class.EXT);