We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a663c36 commit 377ef12Copy full SHA for 377ef12
src/LogViewerService.php
@@ -72,7 +72,10 @@ protected function getFilePathsMatchingPattern($pattern)
72
73
public function basePathForLogs(): string
74
{
75
- return config('log-viewer.filesystem.root');
+ $rootFolder = Str::of(config('log-viewer.filesystem.root'));
76
+ return empty($rootFolder)
77
+ ? $rootFolder->finish('/')
78
+ : $rootFolder;
79
}
80
81
/**
0 commit comments