mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Cleanup provider disconnect status msgs
This commit is contained in:
parent
63f2c38f4c
commit
601f587cb0
@ -72,6 +72,7 @@ function DisplayProviderConfig()
|
|||||||
$return = stripArtifacts($return);
|
$return = stripArtifacts($return);
|
||||||
foreach ($return as $line) {
|
foreach ($return as $line) {
|
||||||
if (strlen(trim($line)) > 0) {
|
if (strlen(trim($line)) > 0) {
|
||||||
|
$line = preg_replace('/\[1;33;49m(.*)\[0m/', '$1', $line);
|
||||||
$status->addMessage($line, 'info');
|
$status->addMessage($line, 'info');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user