fixed page reload after logout
This commit is contained in:
parent
557b5b4b47
commit
0603391405
|
@ -47,7 +47,7 @@ elseif($not_installed OR $install_called) {
|
||||||
elseif(OC_USER::isLoggedIn()) {
|
elseif(OC_USER::isLoggedIn()) {
|
||||||
if(isset($_GET["logout"]) and ($_GET["logout"])) {
|
if(isset($_GET["logout"]) and ($_GET["logout"])) {
|
||||||
OC_USER::logout();
|
OC_USER::logout();
|
||||||
header("Location: $WEBROOT");
|
header("Location: ".$WEBROOT.'/');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -23,7 +23,7 @@ if(isset($_POST['install']) AND $_POST['install']=='true') {
|
||||||
OC_TEMPLATE::printGuestPage("", "installation", $options);
|
OC_TEMPLATE::printGuestPage("", "installation", $options);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
header("Location: $WEBROOT$SUBURI");
|
header("Location: ".$WEBROOT.'/');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue