summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-26 16:00:29 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-26 16:00:29 +0000
commitd1e33c191c5bc996ec402f14cfb02be0463a92a7 (patch)
tree3939daa518433209e9ce4fa74cfd9d3c775671de
parentf0c0447e78dd2f7ff65e2a32c403d712776ceeb8 (diff)
downloadbrdo-d1e33c191c5bc996ec402f14cfb02be0463a92a7.tar.gz
brdo-d1e33c191c5bc996ec402f14cfb02be0463a92a7.tar.bz2
#165331 by chx: call hook_boot() for cached pages too, moving it to the right place
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
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();