From 36ef345eb6425106f061fb866d9fa66d051e16df Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 5 Apr 2010 16:08:42 +0000 Subject: Merged 5530:5604 from 1.7 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/start.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/file/start.php') diff --git a/mod/file/start.php b/mod/file/start.php index 1345dec44..b8a26fab5 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -43,7 +43,7 @@ register_page_handler('file','file_page_handler'); // Add a new file widget - add_widget_type('filerepo',elgg_echo("file:widget"),elgg_echo("file:widget:description")); + add_widget_type('filerepo',elgg_echo("file"),elgg_echo("file:widget:description")); // Register a URL handler for files register_entity_url_handler('file_url','object','file'); @@ -235,5 +235,8 @@ register_action("file/upload", false, $CONFIG->pluginspath . "file/actions/upload.php"); register_action("file/save", false, $CONFIG->pluginspath . "file/actions/save.php"); register_action("file/delete", false, $CONFIG->pluginspath. "file/actions/delete.php"); + + // temporary - see #2010 + register_action("file/download", false, $CONFIG->pluginspath. "file/actions/download.php"); ?> -- cgit v1.2.3