Fixed bug in getIp

Fixed typo
This commit is contained in:
Simon Schøbel
2021-03-18 08:12:48 +01:00
committed by GitHub
parent 153f8630f2
commit 6fc0241bab

View File

@@ -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');