summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-07 23:12:10 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-07 23:12:10 +0200
commit05b3877a792caa23cb4503a976b8c85dec47335f (patch)
tree86006127e3e581dc23c0f393a08c42e664897d76 /system/core/Input.php
parent481e42660f3c703789b4564402b5c47032c87c99 (diff)
Bump version number to 2.1.3
Diffstat (limited to 'system/core/Input.php')
-rwxr-xr-xsystem/core/Input.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 66e02ba00..fa26777a1 100755
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -334,7 +334,7 @@ class CI_Input {
if ( ! $this->valid_ip($spoof))
{
- $spoof = NULL;
+ $spoof = FALSE;
}
else
{
@@ -343,7 +343,7 @@ class CI_Input {
}
}
- $this->ip_address = ($spoof !== NULL && in_array($_SERVER['REMOTE_ADDR'], $proxy_ips, TRUE))
+ $this->ip_address = ($spoof !== FALSE && in_array($_SERVER['REMOTE_ADDR'], $proxy_ips, TRUE))
? $spoof : $_SERVER['REMOTE_ADDR'];
}
else