mirror of
https://github.com/ShaYmez/xlxd.git
synced 2026-07-16 15:54:09 -04:00
don't use location.reload() if there is a 'do' GET request
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ else {
|
||||
var PageRefresh;
|
||||
|
||||
function ReloadPage() {';
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if (($_SERVER['REQUEST_METHOD'] === 'POST') || isset($_GET['do'])) {
|
||||
echo '
|
||||
document.location.href = "./index.php';
|
||||
if (isset($_GET['show'])) {
|
||||
|
||||
Reference in New Issue
Block a user