diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-06 17:23:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-06 17:23:19 +0000 |
commit | f94831855590ab0c4e143f5d99e241b6537326d0 (patch) | |
tree | a398a528e93afe9db42897876849d46bbb2ef22d /usr | |
parent | 6ca0e63204a3123e203345a9c551c0dd41eee082 (diff) | |
download | pfsense-f94831855590ab0c4e143f5d99e241b6537326d0.zip pfsense-f94831855590ab0c4e143f5d99e241b6537326d0.tar.gz |
Correctly save disable local syslogging server
Ticket #300
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_logs_settings.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_settings.php b/usr/local/www/diag_logs_settings.php index 7e271e0..0bbd742 100755 --- a/usr/local/www/diag_logs_settings.php +++ b/usr/local/www/diag_logs_settings.php @@ -45,6 +45,7 @@ $pconfig['system'] = isset($config['syslog']['system']); $pconfig['enable'] = isset($config['syslog']['enable']); $pconfig['logdefaultblock'] = !isset($config['syslog']['nologdefaultblock']); $pconfig['rawfilter'] = isset($config['syslog']['rawfilter']); +$pconfig['disablelocallogging'] = !isset($config['syslog']['disablelocallogging']); if (!$pconfig['nentries']) $pconfig['nentries'] = 50; @@ -176,7 +177,7 @@ function enable_change(enable_over) { </tr> <tr> <td width="22%" valign="top" class="vtable"> </td> - <td width="78%" class="vtable"> <input name="disable" type="checkbox" id="disablelocallogging" value="yes" <?php if ($pconfig['disablelocallogging']) echo "checked"; ?> onClick="enable_change(false)"> + <td width="78%" class="vtable"> <input name="disablelocallogging" type="checkbox" id="disablelocallogging" value="yes" <?php if ($pconfig['disablelocallogging']) echo "checked"; ?> onClick="enable_change(false)"> <strong>Disable writing log files to the local disk</strong></td> </tr> <tr> |