summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-02-21 10:22:17 -0500
committerAlessandro Cosentino <cosenal@gmail.com>2012-02-21 10:22:17 -0500
commit36b7d819e535667c76faf93dd6cbe666b338cdb2 (patch)
tree3ab1eb7a319285dac438d96c5908795a6fc8d50d /lib/util.php
parent6540bda238f1b659444016d433c7aeb11873b9be (diff)
downloadnextcloud-server-36b7d819e535667c76faf93dd6cbe666b338cdb2.tar.gz
nextcloud-server-36b7d819e535667c76faf93dd6cbe666b338cdb2.zip
restore redirect after checkLoggedIn
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
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();
}
}