|
@@ -108,7 +108,7 @@ |
|
|
block discarded – undo |
|
108
|
108
|
$remoteAddr = filter_input(INPUT_SERVER, 'REMOTE_ADDR', FILTER_SANITIZE_STRING); |
|
109
|
109
|
if ($this->getProxyCheckEnabled() == 1) { |
|
110
|
110
|
$proxy = filter_input(INPUT_SERVER, 'HTTP_X_FORWARDED_FOR', FILTER_SANITIZE_STRING); |
|
111
|
|
- if(!empty($proxy)) { |
|
|
111
|
+ if (!empty($proxy)) { |
|
112
|
112
|
$proxyIps = explode(',', $proxy); |
|
113
|
113
|
$relevantIp = array_shift($proxyIps); |
|
114
|
114
|
$relevantIp = trim($relevantIp); |
Please login to merge, or discard this patch.