aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy.inc
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.inc
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.inc')
-rw-r--r--config/haproxy/haproxy.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc
index 29827d39..7f57ae33 100644
--- a/config/haproxy/haproxy.inc
+++ b/config/haproxy/haproxy.inc
@@ -153,7 +153,7 @@ function haproxy_configure() {
// Advanced pass trhu
if($backend['advanced'])
- fwrite ($fd, "\t" . str_replace("\n", " ", base64decode($backend['advanced'])) . "\n");
+ fwrite ($fd, "\t" . str_replace("\n", " ", base64_decode($backend['advanced'])) . "\n");
// https is an alias for tcp for clarity purpouses
if(strtolower($backend['type']) == "https") {
@@ -234,7 +234,7 @@ function haproxy_configure() {
$server_ports[] = $server['port'];
}
if($server['advanced'])
- $advanced_txt = " " . str_replace("\n", " ", base64decode($server['advanced']));
+ $advanced_txt = " " . str_replace("\n", " ", base64_decode($server['advanced']));
else
$advanced_txt = "";
foreach($server_ports as $pport)