Fix capitalization regression in Request::server()
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
This commit is contained in:
@@ -81,7 +81,7 @@ class Request {
|
||||
*/
|
||||
public static function server($key = null, $default = null)
|
||||
{
|
||||
return array_get(static::foundation()->server->all(), $key, $default);
|
||||
return array_get(static::foundation()->server->all(), strtoupper($key), $default);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user