Fix capitalization regression in Request::server()

Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
This commit is contained in:
Kelly Banman
2012-05-21 23:56:48 -07:00
parent d29c5bfdab
commit e46d9c5b6d

View File

@@ -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);
}
/**