aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 1e0c5bdc2..e90c6db54 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -12,7 +12,8 @@
function pages_init() {
global $CONFIG;
- add_menu(elgg_echo('pages'), "mod/pages/world.php");
+ $item = new ElggMenuItem('pages', elgg_echo('pages'), 'mod/pages/world.php');
+ elgg_register_menu_item('site', $item);
// Register a page handler, so we can have nice URLs
register_page_handler('pages','pages_page_handler');