From c2746a949ee34bd9a93f21d1ca808a918fe7ae52 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 8 Sep 2008 21:24:30 +0000 Subject: - Patch #208793 by kbahey, Damien Tournoud: stop hardcoding the HTTP protocol version where possible. --- includes/database/database.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/database/database.inc') diff --git a/includes/database/database.inc b/includes/database/database.inc index 2dafd3d2e..ed479fe5a 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -1780,7 +1780,7 @@ function db_change_field(&$ret, $table, $field, $field_new, $spec, $keys_new = a function _db_error_page($error = '') { global $db_type; drupal_maintenance_theme(); - drupal_set_header('HTTP/1.1 503 Service Unavailable'); + drupal_set_header($_SERVER['SERVER_PROTOCOL'] . ' 503 Service Unavailable'); drupal_set_title('Site offline'); } -- cgit v1.2.3