Commit d1e33c19 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#165331 by chx: call hook_boot() for cached pages too, moving it to the right place

parent f0c0447e
......@@ -922,6 +922,7 @@ function _drupal_bootstrap($phase) {
// Start a page timer:
timer_start('page');
bootstrap_invoke_all('boot');
drupal_page_header();
break;
......@@ -962,7 +963,6 @@ function _drupal_cache_init($phase) {
}
elseif (variable_get('cache', CACHE_DISABLED) == CACHE_NORMAL) {
require_once './includes/module.inc';
bootstrap_invoke_all('boot');
drupal_page_cache_header($cache);
bootstrap_invoke_all('exit');
exit();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment