summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 23:19:39 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 23:19:39 +0200
commite48f511606a1ef64aa39099055dd6ae437f45d03 (patch)
tree6ecbbc9c14cb621845fc12af9412e24d17168397 /apps/files/index.php
parent31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (diff)
downloadnextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.tar.gz
nextcloud-server-e48f511606a1ef64aa39099055dd6ae437f45d03.zip
port linkto and serverHost
Diffstat (limited to 'apps/files/index.php')
-rwxr-xr-xapps/files/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 2d3b0a13b25..9634a725866 100755
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -74,11 +74,11 @@ foreach( explode( "/", $dir ) as $i ){
// make breadcrumb und filelist markup
$list = new OC_Template( "files", "part.list", "" );
$list->assign( "files", $files );
-$list->assign( "baseURL", OC_Helper::linkTo("files", "index.php")."?dir=");
-$list->assign( "downloadURL", OC_Helper::linkTo("files", "download.php")."?file=");
+$list->assign( "baseURL", OCP\Util::linkTo("files", "index.php")."?dir=");
+$list->assign( "downloadURL", OCP\Util::linkTo("files", "download.php")."?file=");
$breadcrumbNav = new OC_Template( "files", "part.breadcrumb", "" );
$breadcrumbNav->assign( "breadcrumb", $breadcrumb );
-$breadcrumbNav->assign( "baseURL", OC_Helper::linkTo("files", "index.php")."?dir=");
+$breadcrumbNav->assign( "baseURL", OCP\Util::linkTo("files", "index.php")."?dir=");
$upload_max_filesize = OC_Helper::computerFileSize(ini_get('upload_max_filesize'));
$post_max_size = OC_Helper::computerFileSize(ini_get('post_max_size'));