diff options
author | admin <devnull@localhost> | 2006-10-30 05:39:12 +0100 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-30 05:39:12 +0100 |
commit | 49439ff0a4deaac47e078c137216b0c410bd6ec4 (patch) | |
tree | 3e92faeba4204e1efd44a6ae86d32268bb1fc355 /system/codeigniter/Common.php | |
parent | f3a6204bb0f4538d6a77d9c85c56545be73ecd64 (diff) |
Diffstat (limited to 'system/codeigniter/Common.php')
-rw-r--r-- | system/codeigniter/Common.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php index 06e922084..41e13bee6 100644 --- a/system/codeigniter/Common.php +++ b/system/codeigniter/Common.php @@ -127,7 +127,7 @@ function &get_config() * @access public * @return mixed */ -function &config_item($item) +function config_item($item) { static $config_item = array(); @@ -197,7 +197,7 @@ function log_message($level = 'error', $message, $php_error = FALSE) { static $LOG; - $config = get_config(); + $config =& get_config(); if ($config['log_threshold'] == 0) { return; @@ -247,7 +247,7 @@ function _exception_handler($severity, $message, $filepath, $line) } // Should we log the error? No? We're done... - $config = get_config(); + $config =& get_config(); if ($config['log_threshold'] == 0) { return; |