diff options
Diffstat (limited to 'config/widget-snort/snort_alerts.inc')
-rw-r--r-- | config/widget-snort/snort_alerts.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/widget-snort/snort_alerts.inc b/config/widget-snort/snort_alerts.inc index dad91a35..74adb4bb 100644 --- a/config/widget-snort/snort_alerts.inc +++ b/config/widget-snort/snort_alerts.inc @@ -1,15 +1,16 @@ <?php +require_once("globals.inc"); require_once("includes/snort_alerts.inc.php"); $snort_alerts_title = "Snort Alerts"; $snort_alerts_title_link = "snort/snort_alerts.php"; $snort_alerts_logfile = "{$g['varlog_path']}/snort/alert"; -$nentries = 5; +$nentries = 10; $snort_alerts = get_snort_alerts($snort_alerts_logfile, $nentries); /* AJAX related routines */ -handle_snort_ajax($snort_alerts_logfile, $nentries = 5); +handle_snort_ajax($snort_alerts_logfile, $nentries = 10); -?>
\ No newline at end of file +?> |