summaryrefslogtreecommitdiffstats
path: root/files/admin.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/admin.php
parentbc5bf18eedb3c3afd4c9266b5c4a0738f467d54f (diff)
downloadnextcloud-server-c824572b91ce8b85704b0dab11bba248e87610bc.tar.gz
nextcloud-server-c824572b91ce8b85704b0dab11bba248e87610bc.zip
fix the getlink calls
Diffstat (limited to 'files/admin.php')
-rw-r--r--files/admin.php2
1 files changed, 1 insertions, 1 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();
}