aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc
index 58139cc2..5f895e3d 100644
--- a/config/apache_mod_security/apache_mod_security.inc
+++ b/config/apache_mod_security/apache_mod_security.inc
@@ -345,9 +345,9 @@ EOF;
$mod_security_rules = "";
$files = return_dir_as_array(rules_directory);
foreach($files as $file) {
- if(file_exists($file)) {
+ if(file_exists(rules_directory . "/" . $file)) {
// XXX: TODO integrate snorts rule on / off thingie
- $file_txt = get_file_contents($file);
+ $file_txt = file_get_contents(rules_directory . "/" . $file);
$mod_security_rules .= $file_txt . "\n";
}
}