From 375b270c9f5ddc5c488f8f79b61130c1913f0e2d Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Sun, 29 Dec 2013 01:49:32 +0100 Subject: haproxy-devel, -ability to NOT have a default_backend (if all frontends in a group use acl's) -allow selecting multiple certificates for a single frontend -support for configuring new 'agent-check' -refactoring of html row_helper(), javascript table editing, field definition -create 'valid' HTML (closing tags/javascript blocks/styles in head) --- config/haproxy-devel/haproxy_global.php | 73 ++++++++++++++++----------------- 1 file changed, 36 insertions(+), 37 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 bd1846e2..0a92cde7 100755 --- a/config/haproxy-devel/haproxy_global.php +++ b/config/haproxy-devel/haproxy_global.php @@ -3,6 +3,7 @@ /* haproxy_global.php part of pfSense (http://www.pfsense.com/) + Copyright (C) 2013 PiBa-NL Copyright (C) 2009 Scott Ullrich Copyright (C) 2008 Remco Hoef All rights reserved. @@ -52,15 +53,15 @@ if ($_POST) { if ($result) unlink_if_exists($d_haproxyconfdirty_path); } else { - if ($_POST['enable']) { - $reqdfields = explode(" ", "maxconn"); - $reqdfieldsn = explode(",", "Maximum connections"); - } + //if ($_POST['enable']) { + // $reqdfields = explode(" ", "maxconn"); + // $reqdfieldsn = explode(",", "Maximum connections"); + //} if ($_POST['carpdev'] == "disabled") unset($_POST['carpdev']); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + //do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); if ($_POST['maxconn'] && (!is_numeric($_POST['maxconn']))) $input_errors[] = "The maximum number of connections should be numeric."; @@ -126,7 +127,7 @@ include("head.inc"); -