From 06ffa37cc93684db363f01c197a14ec85ac2e0b8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 13 Oct 2009 21:49:33 -0400 Subject: Add support for 1.2 --- config/haproxy/haproxy_backends.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config/haproxy/haproxy_backends.php') diff --git a/config/haproxy/haproxy_backends.php b/config/haproxy/haproxy_backends.php index b1b3ce56..95c3d6b0 100755 --- a/config/haproxy/haproxy_backends.php +++ b/config/haproxy/haproxy_backends.php @@ -61,6 +61,10 @@ if ($_GET['act'] == "del") { } } +$pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); +if(strstr($pfSversion, "1.2")) + $one_two = true; + $pgtitle = "Services: HAProxy: Backends"; include("head.inc"); @@ -68,6 +72,9 @@ include("head.inc");
+ +

+

-- cgit v1.2.3