mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
@@ -167,7 +167,7 @@ class Request
|
||||
}
|
||||
|
||||
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');
|
||||
|
||||
Reference in New Issue
Block a user