diff options
author | admin <devnull@localhost> | 2006-08-27 21:32:02 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-08-27 21:32:02 +0200 |
commit | 1082bddc0c065895a3b39607cb930f5a101f54fb (patch) | |
tree | 2c19cb7dcee82642f2a072bf9f432091fda4c8b1 /system/libraries/Config.php | |
parent | 0d29605b1e774efd57ffd8f5ccc8eaec1e9ca576 (diff) |
Diffstat (limited to 'system/libraries/Config.php')
-rw-r--r-- | system/libraries/Config.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/libraries/Config.php b/system/libraries/Config.php index 85b295796..bd138331f 100644 --- a/system/libraries/Config.php +++ b/system/libraries/Config.php @@ -53,7 +53,7 @@ class CI_Config { * * @access public * @param string the config file name - * @return void + * @return boolean if the file was loaded correctly */ function load($file = '') { @@ -61,7 +61,7 @@ class CI_Config { if (in_array($file, $this->is_loaded)) { - return; + return TRUE; } include_once(APPPATH.'config/'.$file.EXT); @@ -77,6 +77,7 @@ class CI_Config { unset($config); log_message('debug', 'Config file loaded: config/'.$file.EXT); + return TRUE; } // END load() |