We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a27524 + 2ef516e commit dd2861bCopy full SHA for dd2861b
CHANGELOG.md
@@ -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
+
5
## 3.0.2 - 2019-10-24
6
### Fixed
7
- Fix issue with missing log variable in compact() call (via [@jeffturcotte](https://github.com/jeffturcotte))
@@ -7,4 +11,4 @@
11
- Fix security issue allowing a user to view any file on the system #2
8
12
9
13
## 3.0.0 - 2017-12-01
10
-Initial Release
14
+Initial Release
src/Utility.php
@@ -34,7 +34,7 @@ public static function contentHtml (): string
34
$logFiles = array_values(array_filter(
35
scandir($logsDir),
36
function ($var) {
37
- return $var[0] != '.';
+ return $var[0] != '.' && strpos($var, '.log');
38
}
39
));
40
0 commit comments