1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 14:57:37 +02:00

[ticket/7782] Added spaces.

PHPBB3-7782
This commit is contained in:
Oleg Pudeyev
2010-05-17 02:01:13 -04:00
parent 691f682fc2
commit d721e94b88

View File

@@ -2600,7 +2600,7 @@ function meta_refresh($time, $url, $disable_cd_check = false)
*/ */
function send_status_line($code, $message) function send_status_line($code, $message)
{ {
if (substr(strtolower(@php_sapi_name()),0,3) === 'cgi') if (substr(strtolower(@php_sapi_name()), 0, 3) === 'cgi')
{ {
// in theory, we shouldn't need that due to php doing it. Reality offers a differing opinion, though // in theory, we shouldn't need that due to php doing it. Reality offers a differing opinion, though
header("Status: $code $message", true, $code); header("Status: $code $message", true, $code);