login + logout nexus_redirect

This commit is contained in:
xiaomlove
2023-07-30 02:00:08 +08:00
parent 68896196ea
commit 925edf4166
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ else
}
if (!empty($_POST["returnto"]))
header("Location: " . $pprefix . "$BASEURL/{$_POST['returnto']}");
nexus_redirect($_POST['returnto']);
else
header("Location: " . $pprefix . "$BASEURL/index.php");
nexus_redirect("index.php");
?>