mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove html
This commit is contained in:
parent
c9a3eb7923
commit
e5aad46112
@ -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"))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user