fixed logout
This commit is contained in:
parent
04bf687890
commit
d085dfaca9
1 changed files with 3 additions and 1 deletions
|
@ -57,8 +57,10 @@ if (isset($_POST["logout"])) {
|
|||
}
|
||||
|
||||
// Redirect to this page with GET
|
||||
header(sprintf("Location: %s?%s", sanitize_input($_SERVER["PHP_SELF"]),
|
||||
header(sprintf("Location: %s/?%s",
|
||||
sanitize_input($_SERVER["PHP_SELF"]),
|
||||
sanitize_input($_POST["get_params"])));
|
||||
die();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue