From 690ab2bd6b5974977f7067472ad1ceac5c9e61cd Mon Sep 17 00:00:00 2001 From: sullrich Date: Tue, 15 Dec 2009 09:19:17 -0500 Subject: Show frontend port if not defined --- config/haproxy/haproxy_servers.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/haproxy/haproxy_servers.php b/config/haproxy/haproxy_servers.php index ed4e0736..cacf995a 100755 --- a/config/haproxy/haproxy_servers.php +++ b/config/haproxy/haproxy_servers.php @@ -37,7 +37,9 @@ $d_haproxyconfdirty_path = $g['varrun_path'] . "/haproxy.conf.dirty"; if (!is_array($config['installedpackages']['haproxy']['ha_servers']['item'])) { $config['installedpackages']['haproxy']['ha_servers']['item'] = array(); } + $a_server = &$config['installedpackages']['haproxy']['ha_servers']['item']; +$a_backends = &$config['installedpackages']['haproxy']['ha_backends']['item']; if ($_POST) { $pconfig = $_POST; @@ -113,7 +115,18 @@ include("head.inc"); - + + -- cgit v1.2.3