diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2015-11-03 23:21:48 +0100 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2015-11-03 23:21:48 +0100 |
commit | d529f5eda199344e285f111d12d0115720677e1c (patch) | |
tree | 87b143d886eac02dbb64ad6ea485da24acad844c /config/haproxy-devel/pkg | |
parent | 4c6e336f529df7900be3d7739e76b03e7bf804f7 (diff) | |
download | pfsense-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/haproxy-devel/pkg')
-rw-r--r-- | config/haproxy-devel/pkg/haproxy.inc | 6 |
1 files changed, 6 insertions, 0 deletions
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)) { |