aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_global.php
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2011-12-13 17:15:55 -0800
committerMarcello Coutinho <marcellocoutinho@gmail.com>2011-12-13 17:15:55 -0800
commit447d2ea0759829ce236f34f3e2ba8f6ab1266f87 (patch)
tree8f3dbe2cbd9f58a8bd154e21dfc536666ccb4c5c /config/haproxy/haproxy_global.php
parent875a466451d4e86fea5364bb60363fd2afb30d3a (diff)
parent174c379b4a70f5e2e410dead9f7267b4e4a77340 (diff)
downloadpfsense-packages-447d2ea0759829ce236f34f3e2ba8f6ab1266f87.tar.gz
pfsense-packages-447d2ea0759829ce236f34f3e2ba8f6ab1266f87.tar.bz2
pfsense-packages-447d2ea0759829ce236f34f3e2ba8f6ab1266f87.zip
Merge pull request #129 from briantist/patch-4
Added backup and disabled options for servers.
Diffstat (limited to 'config/haproxy/haproxy_global.php')
-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();