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_global.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'config/haproxy-devel/haproxy_global.php') 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 { -- cgit v1.2.3