mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
login + logout nexus_redirect
This commit is contained in:
+1
-1
@@ -4,5 +4,5 @@ dbconn();
|
|||||||
logoutcookie();
|
logoutcookie();
|
||||||
//logoutsession();
|
//logoutsession();
|
||||||
//header("Refresh: 0; url=./");
|
//header("Refresh: 0; url=./");
|
||||||
Header("Location: " . get_protocol_prefix() . "$BASEURL/");
|
nexus_redirect("/");
|
||||||
?>
|
?>
|
||||||
@@ -95,7 +95,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($_POST["returnto"]))
|
if (!empty($_POST["returnto"]))
|
||||||
header("Location: " . $pprefix . "$BASEURL/{$_POST['returnto']}");
|
nexus_redirect($_POST['returnto']);
|
||||||
else
|
else
|
||||||
header("Location: " . $pprefix . "$BASEURL/index.php");
|
nexus_redirect("index.php");
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user