function ad_bootstrap_full in Advertisement 7.3
Eventually perform a full Drupal bootstrap.
2 calls to ad_bootstrap_full()
- ad_get_cache in ./
ad.module - Return the eventually cached results of a callback
- ad_track_event in ./
ad.module - Track an event, like a click or an impression.
File
- ./
ad.module, line 702 - Core code for the ad module.
Code
function ad_bootstrap_full() {
// Next line requires Drupal 7.33.
// See https://www.drupal.org/node/667098#comment-9301931
if (drupal_get_bootstrap_phase() != DRUPAL_BOOTSTRAP_FULL) {
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
drupal_add_http_header('X-Ad-bootstrap-phase', 'full');
}
}