mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-12-22 17:45: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;
|
||||
|
||||
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'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user