restore redirect after checkLoggedIn

This commit is contained in:
Alessandro Cosentino 2012-02-21 10:22:17 -05:00
parent 6540bda238
commit 36b7d819e5
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class OC_Util {
public static function checkLoggedIn(){
// Check if we are a user
if( !OC_User::isLoggedIn()){
header( 'Location: '.OC_Helper::linkToAbsolute( '', 'index.php' ));
header( 'Location: '.OC_Helper::linkToAbsolute( '', 'index.php', TRUE ));
exit();
}
}