further speed-optimization
This commit is contained in:
parent
507d960343
commit
b544a50718
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ function getLog() {
|
||||||
$logLines = array();
|
$logLines = array();
|
||||||
if ($log = fopen(MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log", 'r')) {
|
if ($log = fopen(MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log", 'r')) {
|
||||||
while ($logLine = fgets($log)) {
|
while ($logLine = fgets($log)) {
|
||||||
if (!strpos($logLine, "Debug") && !strpos($logLine,"Received a NAK")) {
|
if (!strpos($logLine, "Debug") && !strpos($logLine,"Received a NAK") && !startsWith($logLine,"I:")) {
|
||||||
array_push($logLines, $logLine);
|
array_push($logLines, $logLine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue