aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/haproxy_global.php
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-12-03 12:59:30 -0800
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-12-03 12:59:30 -0800
commit7a1c41798ccc8bd5ae8c8b6b6989318590ba04d3 (patch)
tree3244f7e2f9ffb491c24fb3c42452c87d7a3269c6 /config/haproxy-devel/haproxy_global.php
parentc78e013f003042cfe878babddeb20925a7402450 (diff)
parent6dd91cb086f926c9ddea2a188141bbbd7f071bed (diff)
downloadpfsense-packages-7a1c41798ccc8bd5ae8c8b6b6989318590ba04d3.tar.gz
pfsense-packages-7a1c41798ccc8bd5ae8c8b6b6989318590ba04d3.tar.bz2
pfsense-packages-7a1c41798ccc8bd5ae8c8b6b6989318590ba04d3.zip
Merge pull request #557 from PiBa-NL/haproxy_spellcheck
haproxy-devel, -made more consistent use of frontend/backend text
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>