mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10303] Removed HTTP_VERSION code path from send_status_line().
This commit is contained in:
commit
0bfd4639ab
@ -2479,12 +2479,6 @@ function send_status_line($code, $message)
|
||||
{
|
||||
$version = $_SERVER['SERVER_PROTOCOL'];
|
||||
}
|
||||
else if (!empty($_SERVER['HTTP_VERSION']))
|
||||
{
|
||||
// I cannot remember where I got this from.
|
||||
// This code path may never be reachable in reality.
|
||||
$version = $_SERVER['HTTP_VERSION'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$version = 'HTTP/1.0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user