diff options
author | BBcan177 <bbcan177@gmail.com> | 2014-12-10 13:32:18 -0500 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2014-12-10 13:32:18 -0500 |
commit | b656811caaae572c5f59547ab3e530cb042271ef (patch) | |
tree | eb1ecc97f634ed0f395ce224a4df460fe06130ee /config/pfblockerng/pfblockerng_alerts.php | |
parent | f31c0071522fb74546c06367ade8eaeb1abc19f2 (diff) | |
download | pfsense-packages-b656811caaae572c5f59547ab3e530cb042271ef.tar.gz pfsense-packages-b656811caaae572c5f59547ab3e530cb042271ef.tar.bz2 pfsense-packages-b656811caaae572c5f59547ab3e530cb042271ef.zip |
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.
Diffstat (limited to 'config/pfblockerng/pfblockerng_alerts.php')
-rw-r--r-- | config/pfblockerng/pfblockerng_alerts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/pfblockerng/pfblockerng_alerts.php b/config/pfblockerng/pfblockerng_alerts.php index b14e9210..bf409572 100644 --- a/config/pfblockerng/pfblockerng_alerts.php +++ b/config/pfblockerng/pfblockerng_alerts.php @@ -392,12 +392,12 @@ if ($savemsg) { <!--Print Table Info--> <td colspan="2" class="listtopic"><?php printf(gettext(" {$type} - Last %s Alert Entries."), "{$pfbentries}"); ?> <?php if ($pfb['pfsenseversion'] >= '2.2'): ?> - <?php if (!array_key_exists("reverse", $config['syslog'])): ?> + <?php if (!is_array($config['syslog']) || !array_key_exists("reverse", $config['syslog'])): ?> <?php echo gettext("Firewall Logs must be in Reverse Order."); ?> <?php endif; ?> <?php else: ?> <?php echo gettext("Firewall Rule changes can unsync these Alerts."); ?> - <?php if (!array_key_exists("reverse", $config['syslog'])): ?> + <?php if (!is_array($config['syslog']) || !array_key_exists("reverse", $config['syslog'])): ?> <?php echo gettext("Firewall Logs must be in Reverse Order."); ?> <?php endif; ?> <?php endif; ?> |