further speed-optimization

This commit is contained in:
dg9vh 2016-06-03 19:10:56 +00:00
parent 507d960343
commit b544a50718

View file

@ -87,7 +87,7 @@ function getLog() {
$logLines = array();
if ($log = fopen(MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log", 'r')) {
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);
}
}