summaryrefslogtreecommitdiffstats
path: root/files/admin.php
diff options
context:
space:
mode:
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();
}