From 647d80b809eadc6183122dd746a9b8d13f6117d0 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Wed, 1 May 2013 19:23:04 +0200 Subject: 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 --- config/haproxy-devel/haproxy_pools.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'config/haproxy-devel/haproxy_pools.php') diff --git a/config/haproxy-devel/haproxy_pools.php b/config/haproxy-devel/haproxy_pools.php index cd3899e6..2d0189a5 100644 --- a/config/haproxy-devel/haproxy_pools.php +++ b/config/haproxy-devel/haproxy_pools.php @@ -47,13 +47,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); } -- cgit v1.2.3