summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-31 22:03:55 +0100
committerLukas Reschke <lukas@statuscode.ch>2012-10-31 22:03:55 +0100
commit81f019b6c5aea827b72dc2aef115e4f0a5cf48c1 (patch)
tree85e233af1efe57d5143fc587fc31d2edabde9ccf /lib/base.php
parent3813ee78c3ca89b46834dcce7d69b22bb1f4bbdb (diff)
downloadnextcloud-server-81f019b6c5aea827b72dc2aef115e4f0a5cf48c1.tar.gz
nextcloud-server-81f019b6c5aea827b72dc2aef115e4f0a5cf48c1.zip
Make the redirect_url working again
Fixes #160
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 5c3d3fb80ce..eee36da2eb2 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -656,7 +656,7 @@ class OC{
else {
OC_User::unsetMagicInCookie();
}
- header( 'Location: '.$_SERVER['REQUEST_URI'] );
+ OC_Util::redirectToDefaultPage();
exit();
}
return true;