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
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public static function headers()
*/
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);
}
/**