drupal_site_offline
- Versions
- 4.7 – 7
drupal_site_offline()
Generates a site off-line message
Code
includes/common.inc, line 275
<?php
function drupal_site_offline() {
drupal_set_header('HTTP/1.0 503 Service unavailable');
drupal_set_title(t('Site off-line'));
print theme('maintenance_page', filter_xss_admin(variable_get('site_offline_message',
t('%site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('%site' => variable_get('site_name', t('This Drupal site')))))));
}
?>Login or register to post comments 