From f8f3e5cac2b682a618767364de9e34b547f7ba70 Mon Sep 17 00:00:00 2001 From: sullrich Date: Tue, 15 Dec 2009 08:29:19 -0500 Subject: Unbreak haproxy. All my fault, sorry about that. --- config/haproxy/haproxy.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/haproxy') diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 0dcacab3..d65c2684 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -150,11 +150,11 @@ function haproxy_configure() { // https is an alias for tcp for clarity purpouses if($backend['type'] == "https") - $backend = "tcp"; + $backend_type = "tcp"; else - $backend = $backend['type']; + $backend_type = $backend['type']; - fwrite ($fd, "\tmode\t\t\t" . $backend . "\n"); + fwrite ($fd, "\tmode\t\t\t" . $backend_type . "\n"); fwrite ($fd, "\tlog\t\t\tglobal\n"); fwrite ($fd, "\toption\t\t\tdontlognull\n"); fwrite ($fd, "\toption\t\t\thttpclose\n"); -- cgit v1.2.3