From d529f5eda199344e285f111d12d0115720677e1c Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Tue, 3 Nov 2015 23:21:48 +0100 Subject: haproxy-devel, update package to use 1.6.2 binaries --- config/haproxy-devel/haproxy.xml | 2 +- config/haproxy-devel/pkg/haproxy.inc | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/haproxy-devel/haproxy.xml b/config/haproxy-devel/haproxy.xml index 784e0034..19b6b577 100644 --- a/config/haproxy-devel/haproxy.xml +++ b/config/haproxy-devel/haproxy.xml @@ -42,7 +42,7 @@ ]]> haproxy - 0.32 + 0.33 HAProxy /pkg_edit.php?xml=haproxy_pools.php /usr/local/pkg/haproxy.inc diff --git a/config/haproxy-devel/pkg/haproxy.inc b/config/haproxy-devel/pkg/haproxy.inc index 638ece28..714b041c 100644 --- a/config/haproxy-devel/pkg/haproxy.inc +++ b/config/haproxy-devel/pkg/haproxy.inc @@ -1460,6 +1460,12 @@ function haproxy_writeconf($configpath) { $a_mailers = &$config['installedpackages']['haproxy']['email_mailers']['item']; $a_resolvers = &$config['installedpackages']['haproxy']['dns_resolvers']['item']; $a_files = &$config['installedpackages']['haproxy']['files']['item']; + if (!is_array($a_mailers)) { + $a_mailers = array(); + } + if (!is_array($a_resolvers)) { + $a_resolvers = array(); + } $fd = fopen($configfile, "w"); if (is_array($a_global)) { -- cgit v1.2.3