aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-03-06 20:33:11 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-03-06 20:33:11 -0500
commitc93a0494ff6b13857b64e25714e7adc54152f931 (patch)
tree82938efe270ee2bdc622fbc901fe7ff48135d9d5
parent79eaddb089e8e8a2644f0e2886b63207ead06019 (diff)
downloadpfsense-packages-c93a0494ff6b13857b64e25714e7adc54152f931.tar.gz
pfsense-packages-c93a0494ff6b13857b64e25714e7adc54152f931.tar.bz2
pfsense-packages-c93a0494ff6b13857b64e25714e7adc54152f931.zip
No need to generate apache rules multiple times
-rw-r--r--config/apache_mod_security/apache_mod_security.inc1
1 files changed, 0 insertions, 1 deletions
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();
}