diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2014-03-06 00:28:56 +0100 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2014-03-06 00:29:52 +0100 |
commit | 04205b537352d88afd2f2dd0be9ab1944e97160d (patch) | |
tree | ac23405c6507daa4620433e18a3bc094be66c974 /config/haproxy-devel/haproxy_stats.php | |
parent | 51b49f5f1a214a565194ea2db3bb0231689309c7 (diff) | |
download | pfsense-packages-04205b537352d88afd2f2dd0be9ab1944e97160d.tar.gz pfsense-packages-04205b537352d88afd2f2dd0be9ab1944e97160d.tar.bz2 pfsense-packages-04205b537352d88afd2f2dd0be9ab1944e97160d.zip |
haproxy-devel, make stats-tab refresh timers configurable.
Diffstat (limited to 'config/haproxy-devel/haproxy_stats.php')
-rw-r--r-- | config/haproxy-devel/haproxy_stats.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/haproxy-devel/haproxy_stats.php b/config/haproxy-devel/haproxy_stats.php index 8ad04c92..752bd8d7 100644 --- a/config/haproxy-devel/haproxy_stats.php +++ b/config/haproxy-devel/haproxy_stats.php @@ -65,7 +65,8 @@ if (isset($_GET['haproxystats']) || isset($_GET['scope']) || (isset($_POST) && i } require_once("guiconfig.inc"); if (isset($_GET['showsticktablecontent'])){ - header("Refresh: 2"); + if (is_numeric($pconfig['localstats_sticktable_refreshtime'])) + header("Refresh: {$pconfig['localstats_sticktable_refreshtime']}"); } $shortcut_section = "haproxy"; require_once("haproxy.inc"); @@ -163,7 +164,7 @@ include("head.inc"); if (isset($_GET['showsticktablecontent'])){ $sticktablename = $_GET['showsticktablecontent']; echo "<td colspan='2'>"; - echo "TESTJe<br/>"; + echo "Contents of the sticktable: $sticktablename<br/>"; $res = haproxy_socket_command("show table $sticktablename"); foreach($res as $line){ echo "<br/>".print_r($line,true); |