summaryrefslogtreecommitdiffstats
path: root/files/download.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2011-08-11 16:15:55 +0200
committerFrank Karlitschek <karlitschek@kde.org>2011-08-11 16:15:55 +0200
commitc824572b91ce8b85704b0dab11bba248e87610bc (patch)
tree97b20c6738bcff591e2181fdc603f19b38f21b06 /files/download.php
parentbc5bf18eedb3c3afd4c9266b5c4a0738f467d54f (diff)
downloadnextcloud-server-c824572b91ce8b85704b0dab11bba248e87610bc.tar.gz
nextcloud-server-c824572b91ce8b85704b0dab11bba248e87610bc.zip
fix the getlink calls
Diffstat (limited to 'files/download.php')
-rw-r--r--files/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/download.php b/files/download.php
index cc52b930f72..ccd3eb43d8e 100644
--- a/files/download.php
+++ b/files/download.php
@@ -26,7 +26,7 @@ require_once('../lib/base.php');
// Check if we are a user
if( !OC_User::isLoggedIn()){
- header( "Location: ".OC_Helper::linkTo( "index.php" ));
+ header( "Location: ".OC_Helper::linkTo( "", "index.php" ));
exit();
}