diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-02-21 10:22:17 -0500 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-02-21 10:22:17 -0500 |
commit | 36b7d819e535667c76faf93dd6cbe666b338cdb2 (patch) | |
tree | 3ab1eb7a319285dac438d96c5908795a6fc8d50d /lib/util.php | |
parent | 6540bda238f1b659444016d433c7aeb11873b9be (diff) | |
download | nextcloud-server-36b7d819e535667c76faf93dd6cbe666b338cdb2.tar.gz nextcloud-server-36b7d819e535667c76faf93dd6cbe666b338cdb2.zip |
restore redirect after checkLoggedIn
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index ee32d31bfd0..aa9fcdec65f 100644 --- a/lib/util.php +++ b/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(); } } |