summaryrefslogtreecommitdiff
path: root/includes/database.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-07-01 20:36:40 +0000
committerDries Buytaert <dries@buytaert.net>2008-07-01 20:36:40 +0000
commitbb232c728af46441b22f071dd9cfb01d31ec69cf (patch)
tree289a4a22cd777ee24c34a6675f3bec241f533420 /includes/database.inc
parentfae9063c681b11cc48347a11b4dc0f06baffb4ce (diff)
downloadbrdo-bb232c728af46441b22f071dd9cfb01d31ec69cf.tar.gz
brdo-bb232c728af46441b22f071dd9cfb01d31ec69cf.tar.bz2
- Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line.
Diffstat (limited to 'includes/database.inc')
-rw-r--r--includes/database.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/database.inc b/includes/database.inc
index 41116091b..f662fc3d1 100644
--- a/includes/database.inc
+++ b/includes/database.inc
@@ -169,7 +169,7 @@ function db_set_active($name = 'default') {
/**
* Helper function to show fatal database errors.
*
- * Prints a themed maintenance page with the 'Site off-line' text,
+ * Prints a themed maintenance page with the 'Site offline' text,
* adding the provided error message in the case of 'display_errors'
* set to on. Ends the page request; no return.
*
@@ -180,7 +180,7 @@ function _db_error_page($error = '') {
global $db_type;
drupal_maintenance_theme();
drupal_set_header('HTTP/1.1 503 Service Unavailable');
- drupal_set_title('Site off-line');
+ drupal_set_title('Site offline');
$message = '<p>The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.</p>';
$message .= '<hr /><p><small>If you are the maintainer of this site, please check your database settings in the <code>settings.php</code> file and ensure that your hosting provider\'s database server is running. For more help, see the <a href="http://drupal.org/node/258">handbook</a>, or contact your hosting provider.</small></p>';