Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Domanski <kdomanski@kdemail.net>2011-06-20 23:09:34 +0400
committerKamil Domanski <kdomanski@kdemail.net>2011-06-20 23:09:34 +0400
commit06033914050633d51c45d6b5e79884bcc66283f8 (patch)
treec0040e585c2f3a881e7ce64a2119584e9f3022ff /index.php
parent557b5b4b472aafeb9a3ac0942e9259640ddd3d1f (diff)
fixed page reload after logout
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 5aaa8fb89c0..d1726676c66 100644
--- a/index.php
+++ b/index.php
@@ -47,7 +47,7 @@ elseif($not_installed OR $install_called) {
elseif(OC_USER::isLoggedIn()) {
if(isset($_GET["logout"]) and ($_GET["logout"])) {
OC_USER::logout();
- header("Location: $WEBROOT");
+ header("Location: ".$WEBROOT.'/');
exit();
}
else {