1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 08:05:25 +02:00

[ticket/10303] Removed HTTP_VERSION code path from send_status_line().

PHPBB3-10303
This commit is contained in:
Chris Smith 2011-08-05 01:17:46 +01:00
parent edb745e951
commit cc87d553d0

View File

@ -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';