Lines Matching refs:lines
183 $lines = @file($conf['media_changelog']) ?: [];
185 $lines = @file($conf['changelog']) ?: [];
187 if (!is_array($lines)) {
188 $lines = [];
190 $lines_position = count($lines) - 1;
202 $seen = []; // caches seen lines, _handleRecentLogLine() skips them
204 // handle lines
207 $rec = _handleRecentLogLine(@$lines[$lines_position], $ns, $flags, $seen);
284 $lines = @file($conf['media_changelog']);
286 $lines = @file($conf['changelog']);
288 if (!$lines) return $recent;
291 $lines = array_reverse($lines);
293 // handle lines
294 $seen = []; // caches seen lines, _handleRecentLogLine() skips them
296 foreach ($lines as $line) {
330 if (empty($line)) return false; //skip empty lines