summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-16 19:48:20 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-17 22:07:14 +0100
commite8b69d45a3afd9633b997eb178e159f9f97f4766 (patch)
treec73bfd48bbc344de391c18aa17071e3fcaa85276 /files
parentf47444e1f776912cbf141ec9cc3763110f4e3552 (diff)
downloadnextcloud-server-e8b69d45a3afd9633b997eb178e159f9f97f4766.tar.gz
nextcloud-server-e8b69d45a3afd9633b997eb178e159f9f97f4766.zip
Fixup use of OC_Helper::linkTo function
Diffstat (limited to 'files')
-rw-r--r--files/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/index.php b/files/index.php
index f166790ba9c..a29d3fb7e1e 100644
--- a/files/index.php
+++ b/files/index.php
@@ -76,11 +76,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", OC_Helper::linkTo("files", "index.php")."?dir=");
+$list->assign( "downloadURL", OC_Helper::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", OC_Helper::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'));