aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publiclink/getfile.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/publiclink/getfile.php')
-rw-r--r--plugins/publiclink/getfile.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/publiclink/getfile.php b/plugins/publiclink/getfile.php
new file mode 100644
index 00000000000..c579dc9246c
--- /dev/null
+++ b/plugins/publiclink/getfile.php
@@ -0,0 +1,10 @@
+<?php
+$RUNTIME_NOAPPS=true; //no need to load the apps
+
+require_once '../../lib/base.php';
+
+require_once 'lib_public.php';
+
+$token=$_GET['token'];
+OC_PublicLink::downloadFile($token);
+?> \ No newline at end of file