Revision 4a98ae56
Added by Scott Ullrich about 20 years ago
etc/inc/filter.inc | ||
---|---|---|
156 | 156 |
if(is_array($line_split)) |
157 | 157 |
$line_error = "The line in question reads [{$line_number}]:<br>" . $line_split[$line_number]; |
158 | 158 |
file_notice("filter_load", "There was error(s) loading the rules:<p><pre>" . $rules_error . "\n" . $line_error . "</pre>", "Filter Reload", ""); |
159 |
log_error("There was error(s) loading the rules:<p><pre>" . $rules_error . "\n" . $line_error); |
|
159 | 160 |
return "There was error(s) loading the rules:<p><pre>" . $rules_error . "\n" . $line_error . "</pre>"; |
160 | 161 |
} |
161 | 162 |
|
Also available in: Unified diff
If we have a problem loading the filter rules then log the error to syslog as well