diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-28 10:51:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-28 10:51:40 +0000 |
commit | 2fe79310df8cbdcd9a749dc200ae004e37c72127 (patch) | |
tree | 91eb424e08524986357f29701927800daf3f9a13 /index.php | |
parent | fe09d5a7867e9f5294e23cb202def475c102fcbc (diff) | |
download | brdo-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.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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"); } |