Changeset 4513
- Timestamp:
- 11/22/06 04:58:31 (2 years ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (1 diff)
- trunk/wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions.php
r4495 r4513 777 777 778 778 if ( substr(php_sapi_name(), 0, 3) == 'cgi' ) 779 @header("HTTP/1.1 $header $text"); 780 else 779 781 @header("Status: $header $text"); 780 else781 @header("HTTP/1.1 $header $text");782 782 } 783 783 trunk/wp-includes/pluggable.php
r4495 r4513 271 271 header("Refresh: 0;url=$location"); 272 272 } 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 274 275 header("Location: $location"); 275 276 }
