aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/index.php b/files/index.php
index 7f6a11ff03c..638f5d0c51e 100644
--- a/files/index.php
+++ b/files/index.php
@@ -28,7 +28,7 @@ require( 'template.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();
}