diff options
author | briantist <bscholer@cshl.edu> | 2011-12-13 17:03:10 -0500 |
---|---|---|
committer | briantist <bscholer@cshl.edu> | 2011-12-13 17:03:10 -0500 |
commit | 174c379b4a70f5e2e410dead9f7267b4e4a77340 (patch) | |
tree | 877ce950737eee602c0b6dbf1b0291f43ac8a56d | |
parent | acbc0de64d69867ad5b8d028cdfd7bfc68a419ba (diff) | |
download | pfsense-packages-174c379b4a70f5e2e410dead9f7267b4e4a77340.tar.gz pfsense-packages-174c379b4a70f5e2e410dead9f7267b4e4a77340.tar.bz2 pfsense-packages-174c379b4a70f5e2e410dead9f7267b4e4a77340.zip |
Fixed a base64 encoding error on the advanced options.
-rwxr-xr-x | config/haproxy/haproxy_global.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_global.php b/config/haproxy/haproxy_global.php index e547aa10..b0486fb8 100755 --- a/config/haproxy/haproxy_global.php +++ b/config/haproxy/haproxy_global.php @@ -74,10 +74,10 @@ if ($_POST) { $config['installedpackages']['haproxy']['enablesync'] = $_POST['enablesync'] ? true : false; $config['installedpackages']['haproxy']['synchost1'] = $_POST['synchost1'] ? $_POST['synchost1'] : false; $config['installedpackages']['haproxy']['synchost2'] = $_POST['synchost2'] ? $_POST['synchost2'] : false; - $config['installedpackages']['haproxy']['synchost2'] = $_POST['synchost3'] ? $_POST['synchost3'] : false; + $config['installedpackages']['haproxy']['synchost3'] = $_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'] = base64_encode($_POST['advanced']) ? $_POST['advanced'] : false; + $config['installedpackages']['haproxy']['advanced'] = $_POST['advanced'] ? base64_encode($_POST['advanced']) : false; $config['installedpackages']['haproxy']['nbproc'] = $_POST['nbproc'] ? $_POST['nbproc'] : false; touch($d_haproxyconfdirty_path); write_config(); |