Fix capitalization regression in Request::server()
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
This commit is contained in:
parent
d29c5bfdab
commit
e46d9c5b6d
|
@ -81,7 +81,7 @@ public static function headers()
|
||||||
*/
|
*/
|
||||||
public static function server($key = null, $default = null)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue