aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-stable/haproxy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/haproxy-stable/haproxy.inc')
-rw-r--r--config/haproxy-stable/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy-stable/haproxy.inc b/config/haproxy-stable/haproxy.inc
index 455638a1..5cc61e4b 100644
--- a/config/haproxy-stable/haproxy.inc
+++ b/config/haproxy-stable/haproxy.inc
@@ -259,7 +259,7 @@ function haproxy_configure() {
if(is_array($a_global)) {
fwrite ($fd, "global\n");
if($a_global['advanced'])
- fwrite ($fd, "\t" . base64deode($a_global['advanced']) . "\n");
+ fwrite ($fd, "\t" . base64_decode($a_global['advanced']) . "\n");
fwrite ($fd, "\tmaxconn\t\t\t".$a_global['maxconn']."\n");
if($a_global['remotesyslog'])
fwrite ($fd, "\tlog\t\t\t{$a_global['remotesyslog']}\t{$a_global['logfacility']}\t{$a_global['loglevel']}\n");