mirror of
https://github.com/unraid/webgui.git
synced 2026-01-22 17:40:19 -06:00
Avoid exec from appending to lines array.
This commit is contained in:
@@ -29,5 +29,6 @@ foreach ($logs as $syslog) {
|
||||
foreach ($match as $type) foreach ($type['text'] as $text) if (preg_match("/$text/i",$line)) {$span = "span class='{$type['class']}'"; break 2;}
|
||||
echo "<$span>".htmlspecialchars($line)."\n</span>";
|
||||
}
|
||||
unset($lines);
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user