Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 01:19:39 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 01:19:39 +0400
commite48f511606a1ef64aa39099055dd6ae437f45d03 (patch)
tree6ecbbc9c14cb621845fc12af9412e24d17168397 /apps/files_sharing
parent31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (diff)
port linkto and serverHost
Diffstat (limited to 'apps/files_sharing')
-rwxr-xr-xapps/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 f6ae4bf075f..32bca2ad6e9 100755
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -52,11 +52,11 @@ if ($source !== false) {
OCP\Util::addStyle("files", "files");
$breadcrumbNav = new OC_Template("files", "part.breadcrumb", "");
$breadcrumbNav->assign("breadcrumb", $breadcrumb);
- $breadcrumbNav->assign("baseURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
+ $breadcrumbNav->assign("baseURL", OCP\Util::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
$list = new OC_Template("files", "part.list", "");
$list->assign("files", $files);
- $list->assign("baseURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
- $list->assign("downloadURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
+ $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("readonly", true);
$tmpl = new OC_Template("files", "index", "user");
$tmpl->assign("fileList", $list->fetchPage());