diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-13 16:23:03 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-13 16:23:03 -0500 |
commit | 1a8b65541c3a3185792f41ed293aaf763a4caf01 (patch) | |
tree | a943e1030d753f47c405b341236d14247f65aec9 /src/usr/local/www/status_filter_reload.php | |
parent | 7f4268b62ddfb259e437dd0cb85fa41f5e98dff0 (diff) | |
download | pfsense-1a8b65541c3a3185792f41ed293aaf763a4caf01.zip pfsense-1a8b65541c3a3185792f41ed293aaf763a4caf01.tar.gz |
GET/POST conversion for status*
Diffstat (limited to 'src/usr/local/www/status_filter_reload.php')
-rw-r--r-- | src/usr/local/www/status_filter_reload.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/status_filter_reload.php b/src/usr/local/www/status_filter_reload.php index edc3ec4..abfaad2 100644 --- a/src/usr/local/www/status_filter_reload.php +++ b/src/usr/local/www/status_filter_reload.php @@ -37,7 +37,7 @@ if (file_exists("{$g['varrun_path']}/filter_reload_status")) { $status = file_get_contents("{$g['varrun_path']}/filter_reload_status"); } -if ($_GET['getstatus']) { +if ($_REQUEST['getstatus']) { echo "|{$status}|"; exit; } @@ -78,7 +78,7 @@ endif; </div> <br/> -<?php if (!$_GET['user']) { ?> +<?php if (!$_REQUEST['user']) { ?> <div id="reloadinfo"><?=gettext("This page will automatically refresh every 3 seconds until the filter is done reloading."); ?></div> <?php } ?> @@ -161,12 +161,12 @@ if (typeof getURL == 'undefined') { } } - http_request.open('GET', url, true); + http_request.open('REQUEST', url, true); http_request.send(null); } } -if ("<?=$_GET['user']?>" != "true") { +if ("<?=$_REQUEST['user']?>" != "true") { window.setTimeout('update_status_thread()', 1500); } //]]> |