mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +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:
@@ -130,7 +130,7 @@ if ($sendResult === true) {
|
||||
}
|
||||
}
|
||||
$lock->release();
|
||||
header("Refresh: 0; url=invite.php?id=".htmlspecialchars($id)."&sent=1");
|
||||
header("Location: invite.php?id=".htmlspecialchars($id)."&sent=1");
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user