Skip to content

Commit

Permalink
remove GLOB_BRACE constant usage
Browse files Browse the repository at this point in the history
  • Loading branch information
arukompas committed Oct 6, 2022
1 parent 9ca5464 commit ba0a591
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opcodesio/log-viewer",
"version": "v1.5.2",
"version": "v1.5.3",
"description": "Fast and easy-to-use log viewer for your Laravel application",
"keywords": [
"arukompas",
Expand Down
4 changes: 3 additions & 1 deletion src/LogViewerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ protected function getFilePaths(): array

protected function getFilePathsMatchingPattern($pattern)
{
return glob($pattern, GLOB_BRACE);
// The GLOB_BRACE flag is not available on some non GNU systems, like Solaris or Alpine Linux.

return glob($pattern);
}

public function basePathForLogs(): string
Expand Down

0 comments on commit ba0a591

Please sign in to comment.