summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-28 10:51:40 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-28 10:51:40 +0000
commit2fe79310df8cbdcd9a749dc200ae004e37c72127 (patch)
tree91eb424e08524986357f29701927800daf3f9a13 /index.php
parentfe09d5a7867e9f5294e23cb202def475c102fcbc (diff)
downloadbrdo-2fe79310df8cbdcd9a749dc200ae004e37c72127.tar.gz
brdo-2fe79310df8cbdcd9a749dc200ae004e37c72127.tar.bz2
- 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 416fa17a6..198b23ed7 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");
}