Make WordPress Core


Ignore:
Timestamp:
11/22/2006 04:58:31 AM (20 years ago)
Author:
markjaquith
Message:

trying Ryan's suggestion for #3215

File:
1 edited

Legend:

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

    r4495 r4513  
    271271                header("Refresh: 0;url=$location");
    272272        } else {
    273                 status_header($status); // This causes problems on IIS
     273                if ( php_sapi_name() != 'cgi-fcgi' )
     274                        status_header($status); // This causes problems on IIS and some FastCGI setups
    274275                header("Location: $location");
    275276        }
Note: See TracChangeset for help on using the changeset viewer.