Changeset 1643 for trunk/action.php
- Timestamp:
- Dec 8, 2006, 1:12:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/action.php
r1616 r1643 56 56 function do_error( $code, $str ) 57 57 { 58 header("HTTP/1.1 $code "); 59 header("Status: $code "); 58 set_status_header( $code ); 60 59 echo $str ; 61 60 exit(); … … 149 148 if ( isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) ) 150 149 { 151 header("HTTP/1.1 304 Not modified "); 152 header("Status: 304 Not modified"); 150 set_status_header(304); 153 151 foreach ($http_headers as $header) 154 152 {
Note: See TracChangeset
for help on using the changeset viewer.