diff options
author | admin <devnull@localhost> | 2006-10-10 19:47:59 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-10 19:47:59 +0200 |
commit | 7099a589d1719311427d7552523ec962ebc3b650 (patch) | |
tree | e6c4c09d62f09e8b6c5f85bd83c7b6eaf4b7fc98 /system/libraries/Input.php | |
parent | 1e3039878265b09e85f14e6b5ad3fbb6d4aa24c3 (diff) |
Diffstat (limited to 'system/libraries/Input.php')
-rw-r--r-- | system/libraries/Input.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/libraries/Input.php b/system/libraries/Input.php index 0d3c87b49..72344e343 100644 --- a/system/libraries/Input.php +++ b/system/libraries/Input.php @@ -44,7 +44,7 @@ class CI_Input { { log_message('debug', "Input Class Initialized"); - $CFG =& _load_class('Config'); + $CFG =& load_class('Config'); $this->use_xss_clean = ($CFG->item('global_xss_filtering') === TRUE) ? TRUE : FALSE; $this->allow_get_array = ($CFG->item('enable_query_strings') === TRUE) ? TRUE : FALSE; $this->_sanitize_globals(); @@ -306,7 +306,8 @@ class CI_Input { if ($this->ip_address === FALSE) { - return $this->ip_address = '0.0.0.0'; + $this->ip_address = '0.0.0.0'; + return $this->ip_address; } if (strstr($this->ip_address, ',')) |