summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/index.php b/index.php
index 692279b98..3d149eab2 100644
--- a/index.php
+++ b/index.php
@@ -12,17 +12,12 @@ else {
}
if (isset($mod) && module_hook($mod, "page")) {
- if ($mod != "admin") {
- drupal_page_header();
- }
+ drupal_page_header();
module_invoke($mod, "page");
- if ($mod != "admin") {
- drupal_page_footer();
- }
+ drupal_page_footer();
}
else {
drupal_page_header();
-
check_php_setting("magic_quotes_gpc", 0);
if (module_hook(variable_get("site_frontpage", "node"), "page")) {
@@ -32,7 +27,6 @@ else {
theme("header");
theme("footer");
}
-
drupal_page_footer();
}