From 8d815d1148a095dea21db60b5bceb67f5c671bce Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 9 Feb 2009 21:53:49 -0500 Subject: Git rid of the scroll down business and output to lower area with tags stripped. --- config/snort/snort.inc | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'config/snort') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 0cda2ed4..cf2e5fbc 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -560,27 +560,14 @@ function check_for_common_errors($filename) { $contents = file_get_contents($filename); if(stristr($contents, "You don't have permission")) { if(!$console_mode) { - update_all_status("An error occured while downloading {$filename}. Scroll down to inspect it's contents."); + update_all_status("An error occured while downloading {$filename}."); hide_progress_bar_status(); } else { log_error("An error occured. Scroll down to inspect it's contents."); echo "An error occured. Scroll down to inspect it's contents."; } if(!$console_mode) { - echo " -
-
- -

 

 

 

 

 

 

 

-

 

 

 

 

 

 

 

-

 

 

 

 

 

 

 

-

 

 

 

 

 

 

 

-

The following error occured while downloading the snort rules file from snort.org:

- {$contents} -

 

 

 

 

 

 

 

-
-
- "; + update_output_window(strip_tags("$contents")); } else { $contents = strip_tags($contents); log_error("Error downloading snort rules: {$contents}"); -- cgit v1.2.3