1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-09-28 15:56:34 -04:00

don't use location.reload() if there is a 'do' GET request

This commit is contained in:
narspt 2018-02-06 08:03:23 +00:00 committed by GitHub
parent 14f00b9711
commit 90fe828fd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'])) {