| 1 | 113a114,117 |
|---|
| 2 | > $protocol = $_SERVER["SERVER_PROTOCOL"]; |
|---|
| 3 | > if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol ) |
|---|
| 4 | > $protocol = 'HTTP/1.0'; |
|---|
| 5 | > header( "$protocol 500 Internal Server Error", true, 500 ); |
|---|
| 6 | 120c124,128 |
|---|
| 7 | < header( 'Content-Type: text/html; charset=utf-8' ); |
|---|
| 8 | --- |
|---|
| 9 | > $protocol = $_SERVER["SERVER_PROTOCOL"]; |
|---|
| 10 | > if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol ) |
|---|
| 11 | > $protocol = 'HTTP/1.0'; |
|---|
| 12 | > header( "$protocol 500 Internal Server Error", true, 500 ); |
|---|
| 13 | > header( 'Content-Type: text/html; charset=utf-8' ); |
|---|