summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorRobin Sowell <robin.sowell@ellislab.com>2010-03-19 16:15:28 +0100
committerRobin Sowell <robin.sowell@ellislab.com>2010-03-19 16:15:28 +0100
commit76b369e191f4432ceba51ba7d7993c4ea54579ae (patch)
tree665ac4a9af07b2ea7ee3c242c549e408d0532059 /system/core/Input.php
parent66a3fc0a7dc6ae84da4a1e852e4458fda7714567 (diff)
Changed a few strstr to strpos for consistency w performance guidelines and to mirror EE2.
Diffstat (limited to 'system/core/Input.php')
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 0760dc830..2eef82458 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -288,7 +288,7 @@ class CI_Input {
return $this->ip_address;
}
- if (strstr($this->ip_address, ','))
+ if (strpos($this->ip_address, ',') !== FALSE)
{
$x = explode(',', $this->ip_address);
$this->ip_address = trim(end($x));