Remove html

This commit is contained in:
Scott Ullrich 2005-07-31 03:36:55 +00:00
parent c9a3eb7923
commit e5aad46112

View File

@ -154,10 +154,10 @@ function filter_configure_sync() {
$rules_file = `/bin/cat /tmp/rules.debug`;
$line_split = split("\n", $rules_file);
if(is_array($line_split))
$line_error = "The line in question reads [{$line_number}]:<br>" . $line_split[$line_number];
$line_error = "The line in question reads [{$line_number}]: " . $line_split[$line_number];
file_notice("filter_load", "There was error(s) loading the rules: " . $rules_error . " " . $line_error, "Filter Reload", "");
log_error("There was error(s) loading the rules:<p><pre>" . $rules_error . "\n" . $line_error);
return "There was error(s) loading the rules:<p><pre>" . $rules_error . "\n" . $line_error . "</pre>";
log_error("There was error(s) loading the rules: " . $rules_error . " - " . $line_error);
return;
}
if(file_exists("/usr/local/pkg/pf/carp_sync_client.php"))