diff --git a/dashboard/index.php b/dashboard/index.php index 9f1d9ab..8a23f81 100755 --- a/dashboard/index.php +++ b/dashboard/index.php @@ -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'])) { diff --git a/dashboard2/index.php b/dashboard2/index.php index cf29a95..25fea68 100644 --- a/dashboard2/index.php +++ b/dashboard2/index.php @@ -110,7 +110,7 @@ if ($CallingHome['Active']) { 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'])) {