aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/get.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index e326a170075..e2fcb82750d 100644
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -54,11 +54,11 @@ if (isset($_GET['token']) && $source = OC_Share::getSource($_GET['token'])) {
OCP\Util::addStyle("files", "files");
$breadcrumbNav = new OCP\Template("files", "part.breadcrumb", "");
$breadcrumbNav->assign("breadcrumb", $breadcrumb);
- $breadcrumbNav->assign("baseURL", OCP\Util::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
+ $breadcrumbNav->assign("baseURL", OCP\Util::linkTo("", "public.php")."?service=files&token=".$token."&path=");
$list = new OCP\Template("files", "part.list", "");
$list->assign("files", $files);
- $list->assign("baseURL", OCP\Util::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
- $list->assign("downloadURL", OCP\Util::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
+ $list->assign("baseURL", OCP\Util::linkTo("", "public.php")."?service=files&token=".$token."&path=");
+ $list->assign("downloadURL", OCP\Util::linkTo("", "public.php")."?service=files&token=".$token."&path=");
$list->assign("readonly", true);
$tmpl = new OCP\Template("files", "index", "user");
$tmpl->assign("fileList", $list->fetchPage());