aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 15:17:50 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 15:17:50 +0000
commit872c762193858adfcf7a7621f3d86d2f30a346fb (patch)
tree6000444e4e4a19ef3c8f5eda2817d6a74ebbd08e /mod/file/start.php
parentf6933c12066b0c4acc0475e2c4b30c14490f10f8 (diff)
downloadelgg-872c762193858adfcf7a7621f3d86d2f30a346fb.tar.gz
elgg-872c762193858adfcf7a7621f3d86d2f30a346fb.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Download page added git-svn-id: https://code.elgg.org/elgg/trunk@604 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/start.php')
-rw-r--r--mod/file/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index adf446cb5..2783e6e64 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -90,6 +90,7 @@
// Draw file
return elgg_view("file/file", array(
+ "file_guid" => $file->guid,
"tags" => $tags,
"title" => $file->title,
"description" => $file->description,
@@ -123,6 +124,8 @@
// Make sure test_init is called on initialisation
register_event_handler('init','system','file_init');
- // Register an action
+ // Register actions
register_action("file/upload", false, $CONFIG->pluginspath . "file/actions/upload.php");
+ register_action("file/download", false, $CONFIG->pluginspath. "file/actions/download.php");
+
?> \ No newline at end of file