aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_backends.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-10-13 21:49:33 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-10-13 21:49:33 -0400
commit06ffa37cc93684db363f01c197a14ec85ac2e0b8 (patch)
treee9fc1c62250a2a16e7b55b2ac481e6a879c6b386 /config/haproxy/haproxy_backends.php
parent03b1246cd9c18ae9e2e880cf3c8c44b6bb8cb220 (diff)
downloadpfsense-packages-06ffa37cc93684db363f01c197a14ec85ac2e0b8.tar.gz
pfsense-packages-06ffa37cc93684db363f01c197a14ec85ac2e0b8.tar.bz2
pfsense-packages-06ffa37cc93684db363f01c197a14ec85ac2e0b8.zip
Add support for 1.2
Diffstat (limited to 'config/haproxy/haproxy_backends.php')
-rwxr-xr-xconfig/haproxy/haproxy_backends.php7
1 files changed, 7 insertions, 0 deletions
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");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<form action="haproxy_backends.php" method="post">
+<?php if($one_two): ?>
+<p class="pgtitle"><?=$pgtitle?></font></p>
+<?php endif; ?>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (file_exists($d_haproxyconfdirty_path)): ?><p>