113a114,117
>         $protocol = $_SERVER["SERVER_PROTOCOL"];
>         if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
>             $protocol = 'HTTP/1.0';
>         header( "$protocol 500 Internal Server Error", true, 500 );
120c124,128
<                header( 'Content-Type: text/html; charset=utf-8' );
---
>         $protocol = $_SERVER["SERVER_PROTOCOL"];
>         if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
>             $protocol = 'HTTP/1.0';
>         header( "$protocol 500 Internal Server Error", true, 500 );
>               header( 'Content-Type: text/html; charset=utf-8' );