mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-12-23 01:55:49 -05:00
don't use location.reload() if there is a 'do' GET request
This commit is contained in:
parent
14f00b9711
commit
90fe828fd1
@ -98,7 +98,7 @@ else {
|
|||||||
var PageRefresh;
|
var PageRefresh;
|
||||||
|
|
||||||
function ReloadPage() {';
|
function ReloadPage() {';
|
||||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
if (($_SERVER['REQUEST_METHOD'] === 'POST') || isset($_GET['do'])) {
|
||||||
echo '
|
echo '
|
||||||
document.location.href = "./index.php';
|
document.location.href = "./index.php';
|
||||||
if (isset($_GET['show'])) {
|
if (isset($_GET['show'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user