Changeset 5682 for trunk/include
- Timestamp:
- Apr 5, 2010, 10:49:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r5451 r5682 200 200 $content = preg_replace($pattern, $replacement, $content); 201 201 202 $content = '<div>'.$content.'</div>';203 202 return $content; 204 203 } … … 458 457 } 459 458 } 460 461 462 463 464 465 { 466 467 459 $protocol = $_SERVER["SERVER_PROTOCOL"]; 460 if ( ('HTTP/1.1' != $protocol) && ('HTTP/1.0' != $protocol) ) 461 $protocol = 'HTTP/1.0'; 462 463 if ( version_compare( phpversion(), '4.3.0', '>=' ) ) 464 { 465 header( "$protocol $code $text", true, $code ); 466 } 468 467 else 469 468 { 470 471 469 header( "$protocol $code $text" ); 470 } 472 471 trigger_action('set_status_header', $code, $text); 473 472 }
Note: See TracChangeset
for help on using the changeset viewer.