aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/haproxy_global.php
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2013-05-01 19:23:04 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2013-05-01 19:23:04 +0200
commit647d80b809eadc6183122dd746a9b8d13f6117d0 (patch)
tree29dc932712f9c811fba8b8c0c158525da9af4282 /config/haproxy-devel/haproxy_global.php
parentc0d3652855ac7c735c7a90a1f68f3e953923654e (diff)
downloadpfsense-packages-647d80b809eadc6183122dd746a9b8d13f6117d0.tar.gz
pfsense-packages-647d80b809eadc6183122dd746a9b8d13f6117d0.tar.bz2
pfsense-packages-647d80b809eadc6183122dd746a9b8d13f6117d0.zip
haproxy-devel added widget from external github tree made by by: jvorhees
-widget, Source: https://github.com/jvorhees/pfsense/tree/master/Widgets/Haproxy -widget, dropped socat requirement -widget, improved enabling/disabling server abilities -support configuration of transparent proxying (though currently disabled) -fix for default http check -better startup error checks
Diffstat (limited to 'config/haproxy-devel/haproxy_global.php')
-rwxr-xr-xconfig/haproxy-devel/haproxy_global.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/config/haproxy-devel/haproxy_global.php b/config/haproxy-devel/haproxy_global.php
index 2ff65c0e..7ff0fb65 100755
--- a/config/haproxy-devel/haproxy_global.php
+++ b/config/haproxy-devel/haproxy_global.php
@@ -42,13 +42,7 @@ if ($_POST) {
$pconfig = $_POST;
if ($_POST['apply']) {
- $retval = 0;
- config_lock();
- $retval = haproxy_configure();
- config_unlock();
-
- $result = haproxy_check_writtenconfig_error($messages);
- $savemsg = $messages;
+ $result = haproxy_check_and_run($savemsg, true);
if ($result)
unlink_if_exists($d_haproxyconfdirty_path);
} else {