diff options
-rw-r--r-- | includes/common.inc | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index 375754994..e0b2f3283 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1045,7 +1045,16 @@ function drupal_page_header() { exit(); } } + print $cache->data; + + /* + ** A hook for modules where modules may take action at the end of a + ** request good uses include setting a cache, page logging, etc. + */ + + module_invoke_all("exit"); + exit(); } } @@ -1068,8 +1077,11 @@ function drupal_page_footer() { page_set_cache(); } - // a hook for modules where modules may take action at the end of a request - // good uses include setting a cache, page logging, etc. + /* + ** A hook for modules where modules may take action at the end of a + ** request good uses include setting a cache, page logging, etc. + */ + module_invoke_all("exit"); } |