aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_global.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-12-28 17:35:40 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-12-28 17:35:40 -0500
commit0cf6c383af539c22684c1a4769cfcc6008ba4e58 (patch)
tree3036eb9378e231c11ef49be041f21fbcd4c558c1 /config/haproxy/haproxy_global.php
parenta3b547b16a58856cb455333a1e57cfa46c7b82ac (diff)
downloadpfsense-packages-0cf6c383af539c22684c1a4769cfcc6008ba4e58.tar.gz
pfsense-packages-0cf6c383af539c22684c1a4769cfcc6008ba4e58.tar.bz2
pfsense-packages-0cf6c383af539c22684c1a4769cfcc6008ba4e58.zip
Use base64encode() and base64decode()
Diffstat (limited to 'config/haproxy/haproxy_global.php')
-rwxr-xr-xconfig/haproxy/haproxy_global.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_global.php b/config/haproxy/haproxy_global.php
index 52e1c5be..0f5a5ee8 100755
--- a/config/haproxy/haproxy_global.php
+++ b/config/haproxy/haproxy_global.php
@@ -77,7 +77,7 @@ if ($_POST) {
$config['installedpackages']['haproxy']['synchost2'] = $_POST['synchost3'] ? $_POST['synchost3'] : false;
$config['installedpackages']['haproxy']['remotesyslog'] = $_POST['remotesyslog'] ? $_POST['remotesyslog'] : false;
$config['installedpackages']['haproxy']['syncpassword'] = $_POST['syncpassword'] ? $_POST['syncpassword'] : false;
- $config['installedpackages']['haproxy']['advanced'] = $_POST['advanced'] ? $_POST['advanced'] : false;
+ $config['installedpackages']['haproxy']['advanced'] = base64encode($_POST['advanced']) ? $_POST['advanced'] : false;
touch($d_haproxyconfdirty_path);
write_config();
}