You are here

function maintenance200_preprocess_maintenance_page in Maintenance 200 7

Implements hook_preprocess_HOOK().

Set the Status header to the selected code when the maintenance page is preprocessed.

File

./maintenance200.module, line 13
Code for the Maintenance 200 module.

Code

function maintenance200_preprocess_maintenance_page(&$vars) {
  drupal_add_http_header('Status', variable_get('maintenance_mode_status', '200 OK'));
}