From b656811caaae572c5f59547ab3e530cb042271ef Mon Sep 17 00:00:00 2001 From: BBcan177 Date: Wed, 10 Dec 2014 13:32:18 -0500 Subject: Mods to inc, Alerts and Log Files - Mod the 'Global Enable Log' if() statement in the .inc file - Use correct Folder Paths in Log Browser - Check if syslog array exists in Alerts Tab. --- config/pfblockerng/pfblockerng_log.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'config/pfblockerng/pfblockerng_log.php') diff --git a/config/pfblockerng/pfblockerng_log.php b/config/pfblockerng/pfblockerng_log.php index a1012984..086f8f84 100644 --- a/config/pfblockerng/pfblockerng_log.php +++ b/config/pfblockerng/pfblockerng_log.php @@ -102,34 +102,34 @@ $pfb_logtypes = array( 'defaultlogs' => array('name' => 'Log Files', ), 'originallogs' => array('name' => 'Original Files', 'ext' => array('orig', 'raw'), - 'logdir' => "{$pfb['dbdir']}/original/", + 'logdir' => "{$pfb['origdir']}/", 'download' => TRUE, 'clear' => TRUE ), 'denylogs' => array('name' => 'Deny Files', 'ext' => 'txt', 'txt' => 'deny', - 'logdir' => "{$pfb['dbdir']}/deny/", + 'logdir' => "{$pfb['denydir']}/", 'download' => TRUE, 'clear' => FALSE ), 'permitlogs' => array('name' => 'Permit Files', 'ext' => 'txt', 'txt' => 'permit', - 'logdir' => "{$pfb['dbdir']}/permit/", + 'logdir' => "{$pfb['permitdir']}/", 'download' => TRUE, 'clear' => FALSE ), 'matchlogs' => array('name' => 'Match Files', 'ext' => 'txt', 'txt' => 'match', - 'logdir' => "{$pfb['dbdir']}/match/", + 'logdir' => "{$pfb['matchdir']}/", 'download' => TRUE, 'clear' => FALSE ), 'nativelogs' => array('name' => 'Native Files', 'ext' => 'txt', - 'logdir' => "{$pfb['dbdir']}/native/", + 'logdir' => "{$pfb['nativedir']}/", 'download' => TRUE, 'clear' => FALSE ), @@ -140,7 +140,7 @@ $pfb_logtypes = array( 'defaultlogs' => array('name' => 'Log Files', 'clear' => FALSE ), 'etiprep' => array('name' => 'ET IPRep Files', - 'ext' => 'txt', + 'ext' => '*', 'logdir' => "{$pfb['etdir']}/", 'download' => TRUE, 'clear' => FALSE -- cgit v1.2.3