aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/haproxy_global.php
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2013-11-27 23:47:18 +0100
committerPiBa-NL <pba_2k3@yahoo.com>2013-11-28 00:01:53 +0100
commit8884bc0fe5f8b274d9498f600ec5287acbe87694 (patch)
treedecb479eb03aa22635b6b385bb571e046efbc6fc /config/haproxy-devel/haproxy_global.php
parentcecde162c97ceb3309b29c98ef1648abcb0379bf (diff)
downloadpfsense-packages-8884bc0fe5f8b274d9498f600ec5287acbe87694.tar.gz
pfsense-packages-8884bc0fe5f8b274d9498f600ec5287acbe87694.tar.bz2
pfsense-packages-8884bc0fe5f8b274d9498f600ec5287acbe87694.zip
haproxy-devel, -made more consistent use of frontend/backend text
-show hints on add/delete/clone buttons -on frontend page show servers in a backend in a hint on the backend -fix html character display in interface box. -small 'config update' to externeladdress field for localhost/any/interfaceaddress to allow for a little easier update to latest version. -trigger 'apply button' after recalculating certificate chain if a reference was changed.
Diffstat (limited to 'config/haproxy-devel/haproxy_global.php')
-rwxr-xr-xconfig/haproxy-devel/haproxy_global.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/haproxy-devel/haproxy_global.php b/config/haproxy-devel/haproxy_global.php
index 0ff0e10e..1a540b4f 100755
--- a/config/haproxy-devel/haproxy_global.php
+++ b/config/haproxy-devel/haproxy_global.php
@@ -43,7 +43,9 @@ if ($_POST) {
$pconfig = $_POST;
if ($_POST['calculate_certificate_chain']) {
- haproxy_recalculate_certifcate_chain();
+ $changed = haproxy_recalculate_certifcate_chain();
+ if ($changed > 0)
+ touch($d_haproxyconfdirty_path);
} else
if ($_POST['apply']) {
$result = haproxy_check_and_run($savemsg, true);
@@ -148,8 +150,8 @@ function enable_change(enable_change) {
/* active tabs */
$tab_array = array();
$tab_array[] = array("Settings", true, "haproxy_global.php");
- $tab_array[] = array("Listener", false, "haproxy_listeners.php");
- $tab_array[] = array("Server Pool", false, "haproxy_pools.php");
+ $tab_array[] = array("Frontend", false, "haproxy_listeners.php");
+ $tab_array[] = array("Backend", false, "haproxy_pools.php");
display_top_tabs($tab_array);
?>
</td></tr>