aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorbriantist <bscholer@cshl.edu>2011-12-13 17:03:10 -0500
committerbriantist <bscholer@cshl.edu>2011-12-13 17:03:10 -0500
commit174c379b4a70f5e2e410dead9f7267b4e4a77340 (patch)
tree877ce950737eee602c0b6dbf1b0291f43ac8a56d /config
parentacbc0de64d69867ad5b8d028cdfd7bfc68a419ba (diff)
downloadpfsense-packages-174c379b4a70f5e2e410dead9f7267b4e4a77340.tar.gz
pfsense-packages-174c379b4a70f5e2e410dead9f7267b4e4a77340.tar.bz2
pfsense-packages-174c379b4a70f5e2e410dead9f7267b4e4a77340.zip
Fixed a base64 encoding error on the advanced options.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/haproxy/haproxy_global.php4
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();