mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge remote-tracking branch 'cs278/ticket/10303' into develop-olympus
* cs278/ticket/10303: [ticket/10303] Removed HTTP_VERSION code path from send_status_line().
This commit is contained in:
commit
66867b5ac0
1 changed files with 0 additions and 6 deletions
|
@ -2708,12 +2708,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…
Add table
Reference in a new issue