aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2015-11-03 23:21:48 +0100
committerPiBa-NL <pba_2k3@yahoo.com>2015-11-03 23:21:48 +0100
commitd529f5eda199344e285f111d12d0115720677e1c (patch)
tree87b143d886eac02dbb64ad6ea485da24acad844c /config
parent4c6e336f529df7900be3d7739e76b03e7bf804f7 (diff)
downloadpfsense-packages-d529f5eda199344e285f111d12d0115720677e1c.tar.gz
pfsense-packages-d529f5eda199344e285f111d12d0115720677e1c.tar.bz2
pfsense-packages-d529f5eda199344e285f111d12d0115720677e1c.zip
haproxy-devel, update package to use 1.6.2 binaries
Diffstat (limited to 'config')
-rw-r--r--config/haproxy-devel/haproxy.xml2
-rw-r--r--config/haproxy-devel/pkg/haproxy.inc6
2 files changed, 7 insertions, 1 deletions
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 @@
]]>
</copyright>
<name>haproxy</name>
- <version>0.32</version>
+ <version>0.33</version>
<title>HAProxy</title>
<aftersaveredirect>/pkg_edit.php?xml=haproxy_pools.php</aftersaveredirect>
<include_file>/usr/local/pkg/haproxy.inc</include_file>
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)) {