summaryrefslogtreecommitdiffstats
path: root/files
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
parentbc5bf18eedb3c3afd4c9266b5c4a0738f467d54f (diff)
downloadnextcloud-server-c824572b91ce8b85704b0dab11bba248e87610bc.tar.gz
nextcloud-server-c824572b91ce8b85704b0dab11bba248e87610bc.zip
fix the getlink calls
Diffstat (limited to 'files')
-rw-r--r--files/admin.php2
-rw-r--r--files/ajax/download.php2
-rw-r--r--files/download.php2
-rw-r--r--files/settings.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/files/admin.php b/files/admin.php
index 7161de6e196..db47bc7c033 100644
--- a/files/admin.php
+++ b/files/admin.php
@@ -28,7 +28,7 @@ require_once('../lib/base.php');
// Check if we are a user
if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){
- header( "Location: ".OC_Helper::linkTo( "index.php" ));
+ header( "Location: ".OC_Helper::linkTo( "files", "index.php" ));
exit();
}
diff --git a/files/ajax/download.php b/files/ajax/download.php
index 2bbf1df4eca..4c756f9b190 100644
--- a/files/ajax/download.php
+++ b/files/ajax/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();
}
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();
}
diff --git a/files/settings.php b/files/settings.php
index 1f2e9d9868c..2bbcb2acd3a 100644
--- a/files/settings.php
+++ b/files/settings.php
@@ -27,7 +27,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();
}