Merge pull request #693 from kbanman/request-fix

Fix capitalization regression in Request::server()
This commit is contained in:
Taylor Otwell 2012-05-22 06:19:23 -07:00
commit c80a2e466a
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);
}
/**