Merge pull request #693 from kbanman/request-fix
Fix capitalization regression in Request::server()
This commit is contained in:
commit
c80a2e466a
|
@ -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