diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-12-28 17:35:40 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-12-28 17:35:40 -0500 |
commit | 0cf6c383af539c22684c1a4769cfcc6008ba4e58 (patch) | |
tree | 3036eb9378e231c11ef49be041f21fbcd4c558c1 /config/haproxy/haproxy_global.php | |
parent | a3b547b16a58856cb455333a1e57cfa46c7b82ac (diff) | |
download | pfsense-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-x | config/haproxy/haproxy_global.php | 2 |
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(); } |