Skip to content
Snippets Groups Projects
Commit 06033914 authored by Kamil Domanski's avatar Kamil Domanski
Browse files

fixed page reload after logout

parent 557b5b4b
Branches
No related tags found
No related merge requests found
......@@ -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 {
......
......@@ -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();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment