I believe most pro-bloggers would appreciate this.
Can we have a simple way to "plug" the database down page, i.e once we've got wordpress setup the default wordpress error message doesn't look as professional as one which was integrated into a users theme.
Something simple inside "~/wp-includes/wp-db.php; function bail()" should be enough, I was thinking of ....
function bail($message) { // Just wraps errors in a nice header and footer
if ( !$this->show_errors )
return false;
if (file_exists('wp-content/db-down.php')) {
include('wp-content/db-down.php');
} else {
header( 'Content-Type: text/html; charset=utf-8');
echo <<<HEAD
<!DOCTYPE htm.... blah blah
}
die();
}
}
Thanks :)