diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-18 09:48:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-18 09:48:49 +0000 |
commit | 57c7d7b43befd2ff186d8df6622265de05ac2b20 (patch) | |
tree | 792bfa6c2a2788c0a2b1997ef179a403eb4c550c /index.php | |
parent | 494aa87e37c59ea63293c7d8c3a2bb065a10231b (diff) | |
download | brdo-57c7d7b43befd2ff186d8df6622265de05ac2b20.tar.gz brdo-57c7d7b43befd2ff186d8df6622265de05ac2b20.tar.bz2 |
- The page_footer() function was always called twice due to the introduction
of the "footer" hook (and because of the existence of the page module).
This caused the node view counter to be incremented twice per page view,
the cache being set twice, etc. Quite a bug.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9,15 +9,15 @@ if (isset($_GET["q"])) { if (isset($mod) && module_hook($mod, "page")) { if ($mod != "admin") { - page_header(); + drupal_page_header(); } module_invoke($mod, "page"); if ($mod != "admin") { - page_footer(); + drupal_page_footer(); } } else { - page_header(); + drupal_page_header(); check_php_setting("magic_quotes_gpc", 0); @@ -29,7 +29,7 @@ else { theme("footer"); } - page_footer(); + drupal_page_footer(); } ?> |