Make WordPress Core

Changeset 4445


Ignore:
Timestamp:
11/03/2006 02:42:47 AM (18 years ago)
Author:
markjaquith
Message:

possible solution for #3215

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r4438 r4445  
    776776        $text = 'Gone';
    777777
    778     @header("HTTP/1.1 $header $text");
    779     @header("Status: $header $text");
     778    if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
     779        @header("Status: $header $text");
     780    else
     781        @header("HTTP/1.1 $header $text");
    780782}
    781783
Note: See TracChangeset for help on using the changeset viewer.