aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index cea8b6bd5..f187cb778 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -26,7 +26,7 @@ function file_init() {
elgg_extend_view('groups/tool_latest', 'file/group_module');
// Register a page handler, so we can have nice URLs
- register_page_handler('file', 'file_page_handler');
+ elgg_register_page_handler('file', 'file_page_handler');
// Add a new file widget
elgg_register_widget_type('filerepo', elgg_echo("file"), elgg_echo("file:widget:description"));