diff options
author | sullrich <sullrich@pfsense.org> | 2009-12-16 11:42:16 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-12-16 11:42:16 -0500 |
commit | 0b12f4f08575f6e5a2c791170332cf788d3e2a0e (patch) | |
tree | 6b58c96c6b95748e18fc9671fba88dcd33633ceb /config/haproxy/haproxy_global.php | |
parent | 6953fe31431d6dd8a527e082b2608716953cc5b5 (diff) | |
download | pfsense-packages-0b12f4f08575f6e5a2c791170332cf788d3e2a0e.tar.gz pfsense-packages-0b12f4f08575f6e5a2c791170332cf788d3e2a0e.tar.bz2 pfsense-packages-0b12f4f08575f6e5a2c791170332cf788d3e2a0e.zip |
Add remote syslog option
Diffstat (limited to 'config/haproxy/haproxy_global.php')
-rwxr-xr-x | config/haproxy/haproxy_global.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/haproxy/haproxy_global.php b/config/haproxy/haproxy_global.php index 20dc47a2..253cc397 100755 --- a/config/haproxy/haproxy_global.php +++ b/config/haproxy/haproxy_global.php @@ -75,6 +75,7 @@ if ($_POST) { $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']['remotesyslog'] = $_POST['remotesyslog'] ? $_POST['remotesyslog'] : false; $config['installedpackages']['haproxy']['syncpassword'] = $_POST['syncpassword'] ? $_POST['syncpassword'] : false; touch($d_haproxyconfdirty_path); write_config(); @@ -90,6 +91,7 @@ $pconfig['syncpassword'] = $config['installedpackages']['haproxy']['syncpassword $pconfig['synchost1'] = $config['installedpackages']['haproxy']['synchost1']; $pconfig['synchost2'] = $config['installedpackages']['haproxy']['synchost2']; $pconfig['synchost3'] = $config['installedpackages']['haproxy']['synchost3']; +$pconfig['remotesyslog'] = $config['installedpackages']['haproxy']['remotesyslog']; $pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); if(strstr($pfSversion, "1.2")) @@ -195,6 +197,14 @@ function enable_change(enable_change) { </td> </tr> <tr> + <td valign="top" class="vncell"> + Remote syslog host + </td> + <td class="vtable"> + <input name="remotesyslog" type="text" class="formfld" id="remotesyslog" size="18" value="<?=htmlspecialchars($pconfig['remotesyslog']);?>"> + </td> + </tr> + <tr> <td> </td> |