mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix: Change Refresh into Location
If use Refresh, it will not work on some browser and some protocols (e.g. HTTP/2). So, change Refresh into Location. Signed-off-by: SPC <github@spcsky.com>
This commit is contained in:
@@ -30,5 +30,5 @@ EOD;
|
||||
//this mail is sent when the site is using admin(open/closed)/inviter(closed) confirmation and the admin/inviter confirmed the pending user
|
||||
sent_mail($email,$SITENAME,$SITEEMAIL,$title,$body,"invite confirm",false,false,'');
|
||||
|
||||
header("Refresh: 0; url=invite.php?id=".htmlspecialchars($CURUSER['id']));
|
||||
header("Location: invite.php?id=".htmlspecialchars($CURUSER['id']));
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user