Make WordPress Core

Ticket #1353: wp-db.php

File wp-db.php, 631 bytes (added by ryan, 19 years ago)
Line 
1Index: wp-db.php
2===================================================================
3--- wp-db.php   (revision 2597)
4+++ wp-db.php   (working copy)
5@@ -301,7 +301,7 @@
6        function bail($message) { // Just wraps errors in a nice header and footer
7        if ( !$this->show_errors )
8                return false;
9-       header( 'Content-Type: ' . get_bloginfo('html_type') . '; charset=' . get_bloginfo('charset') );       
10+       header( 'Content-Type: text/html; charset=utf-8');     
11        echo <<<HEAD
12        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13        <html xmlns="http://www.w3.org/1999/xhtml">