diff options
Diffstat (limited to 'files/index.php')
-rw-r--r-- | files/index.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/files/index.php b/files/index.php index 3d62c3385fa..bba8dc4951e 100644 --- a/files/index.php +++ b/files/index.php @@ -26,10 +26,7 @@ require_once('../lib/base.php'); // Check if we are a user -if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( '', 'index.php' )); - exit(); -} +OC_Util::checkLoggedIn(); // Load the files we need OC_Util::addStyle( "files", "files" ); |