Changeset 4514
- Timestamp:
- 11/22/06 04:59:31 (2 years ago)
- Files:
-
- branches/2.0/wp-includes/functions.php (modified) (1 diff)
- branches/2.0/wp-includes/pluggable-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-includes/functions.php
r4473 r4514 2229 2229 $text = 'Gone'; 2230 2230 2231 @header("HTTP/1.1 $header $text"); 2232 @header("Status: $header $text"); 2231 if ( substr(php_sapi_name(), 0, 3) == 'cgi' ) 2232 @header("HTTP/1.1 $header $text"); 2233 else 2234 @header("Status: $header $text"); 2233 2235 } 2234 2236 branches/2.0/wp-includes/pluggable-functions.php
r4384 r4514 266 266 header("Refresh: 0;url=$location"); 267 267 } else { 268 status_header($status); // This causes problems on IIS 268 if ( php_sapi_name() != 'cgi-fcgi' ) 269 status_header($status); // This causes problems on IIS and some FastCGI setups 269 270 header("Location: $location"); 270 271 }
