mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 18:52:15 +00:00
@@ -167,7 +167,7 @@ class Request
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->getHeader('http-x-forwarded-for') !== null) {
|
if ($this->getHeader('http-x-forwarded-for') !== null) {
|
||||||
return $this->getHeader('http-x-forwarded_for');
|
return $this->getHeader('http-x-forwarded-for');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->getHeader('remote-addr');
|
return $this->getHeader('remote-addr');
|
||||||
|
|||||||
Reference in New Issue
Block a user