Skip to content

Commit

Permalink
Merge pull request #6 from ethercreative/dev
Browse files Browse the repository at this point in the history
Finish 3.0.3
  • Loading branch information
Tam authored Nov 25, 2019
2 parents 8a27524 + 2ef516e commit dd2861b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.3 - 2019-11-25
### Fixed
- Fix error when first file is not `*.log` (via [@sebschaefer](https://github.com/sebschaefer))

## 3.0.2 - 2019-10-24
### Fixed
- Fix issue with missing log variable in compact() call (via [@jeffturcotte](https://github.com/jeffturcotte))
Expand All @@ -7,4 +11,4 @@
- Fix security issue allowing a user to view any file on the system #2

## 3.0.0 - 2017-12-01
Initial Release
Initial Release
2 changes: 1 addition & 1 deletion src/Utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static function contentHtml (): string
$logFiles = array_values(array_filter(
scandir($logsDir),
function ($var) {
return $var[0] != '.';
return $var[0] != '.' && strpos($var, '.log');
}
));

Expand Down

0 comments on commit dd2861b

Please sign in to comment.