From c93a0494ff6b13857b64e25714e7adc54152f931 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Mar 2010 20:33:11 -0500 Subject: No need to generate apache rules multiple times --- config/apache_mod_security/apache_mod_security.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'config/apache_mod_security') diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index 0338a0c6..71750be6 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -118,7 +118,6 @@ function apache_mod_security_resync() { exec("/usr/bin/fetch -q -o " . rules_directory . "/rootkits.conf http://www.pfsense.com/packages/config/apache_mod_security/rules/rootkits.conf"); if(!file_exists(rules_directory . "/useragents.conf")) exec("/usr/bin/fetch -q -o " . rules_directory . "/useragents.conf http://www.pfsense.com/packages/config/apache_mod_security/rules/useragents.conf"); - generate_apache_configuration(); apache_mod_security_checkconfig(); apache_mod_security_restart(); } -- cgit v1.2.3