diff --git a/files/index.php b/files/index.php index 7f6a11ff03c0283087c6baaa779795ca9e0d4844..638f5d0c51ee396549462d1b8a05d584e95af2d7 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(); }