summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2003-09-28 10:51:40 (GMT)
committerDries Buytaert2003-09-28 10:51:40 (GMT)
commit2fe79310df8cbdcd9a749dc200ae004e37c72127 (patch)
tree91eb424e08524986357f29701927800daf3f9a13 /index.php
parentfe09d5a7867e9f5294e23cb202def475c102fcbc (diff)
- Rewrote the most of the menu system; this fixes Al's problem with the
"create content" link. - Manually merged the user module's new menu items. Al's patch did not apply. - Added some missing t()s.
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.php b/index.php
index 416fa17..198b23e 100644
--- a/index.php
+++ b/index.php
@@ -16,12 +16,14 @@ $mod = arg(0);
drupal_page_header();
+check_php_setting("magic_quotes_gpc", 0);
+
+menu_build("system");
+
if (isset($mod) && module_hook($mod, "page")) {
module_invoke($mod, "page");
}
else {
- check_php_setting("magic_quotes_gpc", 0);
-
if (module_hook(variable_get("site_frontpage", "node"), "page")) {
module_invoke(variable_get("site_frontpage", "node"), "page");
}