diff options
author | Renato Botelho <garga@pfSense.org> | 2014-03-13 15:05:54 -0300 |
---|---|---|
committer | Renato Botelho <garga@pfSense.org> | 2014-03-13 15:05:54 -0300 |
commit | 00591e4cfe9140aef399f2d47e7417a6c3387403 (patch) | |
tree | aff2af6913a7c2f403e46f621356e9736c173051 /config/haproxy-devel/haproxy_stats.php | |
parent | 7b2c551780d9e2049257740dad17cb1f9841d326 (diff) | |
parent | 04205b537352d88afd2f2dd0be9ab1944e97160d (diff) | |
download | pfsense-packages-00591e4cfe9140aef399f2d47e7417a6c3387403.tar.gz pfsense-packages-00591e4cfe9140aef399f2d47e7417a6c3387403.tar.bz2 pfsense-packages-00591e4cfe9140aef399f2d47e7417a6c3387403.zip |
Merge pull request #618 from PiBa-NL/hap_stats_timers
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); |