diff --git a/includes/common.inc b/includes/common.inc index 77b53f5cc1a79f1c1a5d9fdb318d50d8ed589e31..7373c320ba2b4f328708d857bf02182438e97105 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1022,7 +1022,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(); } } @@ -1043,8 +1052,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"); }