From 311ee04dbf4a90a34c2f16fdf510eb642d41aff3 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 12 Jul 2012 07:57:46 +0000 Subject: Do not make url browseable when not enabled --- config/snort/snort_rulesets.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'config/snort') diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php index 98e3c76d..050ec2ce 100644 --- a/config/snort/snort_rulesets.php +++ b/config/snort/snort_rulesets.php @@ -227,6 +227,7 @@ if ($savemsg) {



+   Enabled @@ -277,7 +278,10 @@ if ($savemsg) { echo " \n\n"; echo "\n"; echo "\n"; - echo "{$file}\n"; + if (empty($CHECKED)) + echo $file; + else + echo "{$file}\n"; echo "\n"; } else echo "
\n"; @@ -294,7 +298,10 @@ if ($savemsg) { echo " \n\n"; echo "\n"; echo "\n"; - echo "{$file}\n"; + if (empty($CHECKED)) + echo $file; + else + echo "{$file}\n"; echo "\n"; } else echo "
\n"; @@ -311,7 +318,10 @@ if ($savemsg) { echo " \n\n"; echo "\n"; echo "\n"; - echo "{$file}\n"; + if (empty($CHECKED)) + echo $file; + else + echo "{$file}\n"; echo "\n"; } else echo "
\n"; -- cgit v1.2.3