- removed slash-adding for logout-header-redirect

This commit is contained in:
Florian Scholz 2013-06-17 14:21:53 +02:00
parent 74b1f7d448
commit efea868704
1 changed files with 1 additions and 1 deletions

View File

@ -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';