aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_servers.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/haproxy/haproxy_servers.php')
-rwxr-xr-xconfig/haproxy/haproxy_servers.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/haproxy/haproxy_servers.php b/config/haproxy/haproxy_servers.php
index 6533b704..f78b02e1 100755
--- a/config/haproxy/haproxy_servers.php
+++ b/config/haproxy/haproxy_servers.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");