restore redirect after checkLoggedIn

remotes/origin/stable4
Alessandro Cosentino 13 years ago
parent 6540bda238
commit 36b7d819e5
  1. 2
      lib/util.php

@ -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();
}
}

Loading…
Cancel
Save