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

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