Skip to content

Commit dd2861b

Browse files
authored
Merge pull request #6 from ethercreative/dev
Finish 3.0.3
2 parents 8a27524 + 2ef516e commit dd2861b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.0.3 - 2019-11-25
2+
### Fixed
3+
- Fix error when first file is not `*.log` (via [@sebschaefer](https://github.com/sebschaefer))
4+
15
## 3.0.2 - 2019-10-24
26
### Fixed
37
- Fix issue with missing log variable in compact() call (via [@jeffturcotte](https://github.com/jeffturcotte))
@@ -7,4 +11,4 @@
711
- Fix security issue allowing a user to view any file on the system #2
812

913
## 3.0.0 - 2017-12-01
10-
Initial Release
14+
Initial Release

src/Utility.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function contentHtml (): string
3434
$logFiles = array_values(array_filter(
3535
scandir($logsDir),
3636
function ($var) {
37-
return $var[0] != '.';
37+
return $var[0] != '.' && strpos($var, '.log');
3838
}
3939
));
4040

0 commit comments

Comments
 (0)