summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorFlorian Scholz <work@bgstyle.de>2013-06-17 14:21:53 +0200
committerFlorian Scholz <work@bgstyle.de>2013-06-17 14:21:53 +0200
commitefea86870473da5a2cdc867e171562525266c663 (patch)
tree4ae7632da52798eaa44f2185745e380a77a65ce1 /lib/base.php
parent74b1f7d448f2d1f73817b7c8508db687d39856c7 (diff)
downloadnextcloud-server-efea86870473da5a2cdc867e171562525266c663.tar.gz
nextcloud-server-efea86870473da5a2cdc867e171562525266c663.zip
- removed slash-adding for logout-header-redirect
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 a6e4a47dbf5..ff9dd1ad1eb 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -641,7 +641,7 @@ class OC {
OC_Preferences::deleteKey(OC_User::getUser(), 'login_token', $_COOKIE['oc_token']);
}
OC_User::logout();
- header("Location: " . OC::$WEBROOT . '/');
+ header("Location: " . OC::$WEBROOT);
} else {
if (is_null($file)) {
$param['file'] = 'index.php';