diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2013-03-16 21:19:40 +0100 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2013-03-16 21:19:40 +0100 |
commit | 826b152e5d25978f8b9306f90450197ce4f4827b (patch) | |
tree | d3130e6bd3de94a083b52393d31671d0ff2e9136 /config/haproxy-devel/haproxy_pools.php | |
parent | 6074075ce90404997f21f5019c743ce599a1c3fc (diff) | |
download | pfsense-packages-826b152e5d25978f8b9306f90450197ce4f4827b.tar.gz pfsense-packages-826b152e5d25978f8b9306f90450197ce4f4827b.tar.bz2 pfsense-packages-826b152e5d25978f8b9306f90450197ce4f4827b.zip |
haproxy-devel
-allow advanced configuration like a cookie per backend-server
-show if ACLs have been used in the overview
-fixed global advanced option saving
-show all certificates, as filtering server certs didn't work properly..
Diffstat (limited to 'config/haproxy-devel/haproxy_pools.php')
-rw-r--r-- | config/haproxy-devel/haproxy_pools.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/config/haproxy-devel/haproxy_pools.php b/config/haproxy-devel/haproxy_pools.php index 07e7d106..57b056b3 100644 --- a/config/haproxy-devel/haproxy_pools.php +++ b/config/haproxy-devel/haproxy_pools.php @@ -53,13 +53,10 @@ if ($_POST) { $retval = haproxy_configure(); config_unlock(); - $result = haproxy_check_writtenconfig_error(); + $result = haproxy_check_writtenconfig_error($messages); + $savemsg = $messages; if ($result) - $savemsg = gettext($result); - else { - $savemsg = get_std_save_message($retval); unlink_if_exists($d_haproxyconfdirty_path); - } } } @@ -90,7 +87,7 @@ include("head.inc"); <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> <?php if (file_exists($d_haproxyconfdirty_path)): ?><p> -<?php print_info_box_np("The virtual pool configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> +<?php print_info_box_np("The haproxy configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br> <?php endif; ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td class="tabnavtbl"> |