_drupal_bootstrap_page_header
- Versions
- 7
_drupal_bootstrap_page_header()
Bootstrap page header: Invoke hook_boot(), intialize locking system, and send default HTTP headers.
Code
includes/bootstrap.inc, line 1645
<?php
function _drupal_bootstrap_page_header() {
bootstrap_invoke_all('boot');
if (!drupal_page_get_cache(TRUE) && drupal_page_is_cacheable()) {
header('X-Drupal-Cache: MISS');
}
// Prepare for non-cached page workflow.
require_once DRUPAL_ROOT . '/' . variable_get('lock_inc', 'includes/lock.inc');
lock_initialize();
if (!drupal_is_cli()) {
ob_start();
drupal_page_header();
}
}
?>Login or register to post comments 