aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_frontends_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-12-28 17:50:19 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-12-28 17:50:19 -0500
commitf97891b1d641ddc03837e776baaa347ff98837a7 (patch)
tree3f7980df75d2be29b659a4d40afc517e91984009 /config/haproxy/haproxy_frontends_edit.php
parent223eb01c5880267202cacc60108c3108b2b08eee (diff)
downloadpfsense-packages-f97891b1d641ddc03837e776baaa347ff98837a7.tar.gz
pfsense-packages-f97891b1d641ddc03837e776baaa347ff98837a7.tar.bz2
pfsense-packages-f97891b1d641ddc03837e776baaa347ff98837a7.zip
Using base64_deocde() and base64_encode() note the missing _
Diffstat (limited to 'config/haproxy/haproxy_frontends_edit.php')
-rwxr-xr-xconfig/haproxy/haproxy_frontends_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_frontends_edit.php b/config/haproxy/haproxy_frontends_edit.php
index a752b4b1..7f6562ad 100755
--- a/config/haproxy/haproxy_frontends_edit.php
+++ b/config/haproxy/haproxy_frontends_edit.php
@@ -70,7 +70,7 @@ if (isset($id) && $a_backend[$id]) {
$pconfig['client_timeout'] = $a_backend[$id]['client_timeout'];
$pconfig['port'] = $a_backend[$id]['port'];
$pconfig['a_acl']=&$a_backend[$id]['ha_acls']['item'];
- $pconfig['advanced'] = base64decode($a_backend[$id]['advanced']);
+ $pconfig['advanced'] = base64_decode($a_backend[$id]['advanced']);
}
@@ -232,7 +232,7 @@ if ($_POST) {
update_if_changed("extaddr", $backend['extaddr'], $_POST['extaddr']);
update_if_changed("max_connections", $backend['max_connections'], $_POST['max_connections']);
update_if_changed("client_timeout", $backend['client_timeout'], $_POST['client_timeout']);
- update_if_changed("advanced", $backend['advanced'], base64encode($_POST['advanced']));
+ update_if_changed("advanced", $backend['advanced'], base64_encode($_POST['advanced']));
$backend['ha_acls']['item'] = $a_acl;