Index: wp-db.php
===================================================================
--- wp-db.php	(revision 6201)
+++ wp-db.php	(working copy)
@@ -401,7 +401,12 @@
 	function bail($message) { // Just wraps errors in a nice header and footer
 		if ( !$this->show_errors )
 			return false;
-		wp_die($message);
+		if ( file_exists('wp-includes/db-down.php') ){
+			include('db-down.php');
+			die();
+		} else {
+			wp_die($message);
+		}
 	}
 	/**
 	 * Checks wether of not the database version is high enough to support the features WordPress uses

