mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-20 17:37:23 +08:00
login + logout nexus_redirect
This commit is contained in:
+2
-2
@@ -4,5 +4,5 @@ dbconn();
|
||||
logoutcookie();
|
||||
//logoutsession();
|
||||
//header("Refresh: 0; url=./");
|
||||
Header("Location: " . get_protocol_prefix() . "$BASEURL/");
|
||||
?>
|
||||
nexus_redirect("/");
|
||||
?>
|
||||
|
||||
@@ -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");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user