summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
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 {