From d1e33c191c5bc996ec402f14cfb02be0463a92a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 26 Aug 2007 16:00:29 +0000 Subject: #165331 by chx: call hook_boot() for cached pages too, moving it to the right place --- includes/bootstrap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 32721b921..939d26c6a 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -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(); -- cgit v1.2.3