From 0f0953a249884f6bb3e67e76b1791be595772a50 Mon Sep 17 00:00:00 2001 From: thompsa Date: Fri, 19 Mar 2010 08:01:37 +1300 Subject: Fix typeo, base64deode -> base64_decode. --- config/haproxy-dev/haproxy.inc | 2 +- config/haproxy-stable/haproxy.inc | 2 +- config/haproxy/haproxy.inc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/haproxy-dev/haproxy.inc b/config/haproxy-dev/haproxy.inc index 84a927c7..f14d479c 100644 --- a/config/haproxy-dev/haproxy.inc +++ b/config/haproxy-dev/haproxy.inc @@ -351,7 +351,7 @@ function haproxy_writeconf() { 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"); 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"); diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 536ef1f7..a94c84fd 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -109,7 +109,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']}\tlocal0\n"); @@ -417,4 +417,4 @@ function haproxy_do_xmlrpc_sync($sync_to_ip, $password) { } } -?> \ No newline at end of file +?> -- cgit v1.2.3