summaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorKamil Domanski <kdomanski@kdemail.net>2011-06-20 21:09:34 +0200
committerKamil Domanski <kdomanski@kdemail.net>2011-06-20 21:09:34 +0200
commit06033914050633d51c45d6b5e79884bcc66283f8 (patch)
treec0040e585c2f3a881e7ce64a2119584e9f3022ff /lib/setup.php
parent557b5b4b472aafeb9a3ac0942e9259640ddd3d1f (diff)
downloadnextcloud-server-06033914050633d51c45d6b5e79884bcc66283f8.tar.gz
nextcloud-server-06033914050633d51c45d6b5e79884bcc66283f8.zip
fixed page reload after logout
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 5905261f18f..bdb5dcc4e24 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -23,7 +23,7 @@ if(isset($_POST['install']) AND $_POST['install']=='true') {
OC_TEMPLATE::printGuestPage("", "installation", $options);
}
else {
- header("Location: $WEBROOT$SUBURI");
+ header("Location: ".$WEBROOT.'/');
exit();
}
}