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.
2 parents c637404 + 141ffb0 commit 33574e1Copy full SHA for 33574e1
src/traits/LfmHelpers.php
@@ -109,8 +109,8 @@ public function getPathPrefix($type)
109
$prefix = $base_directory . '/' . $prefix;
110
}
111
112
- if ($type === 'url' && config('lfm.urls_prefix')) {
113
- $prefix = config('lfm.urls_prefix') . '/' . $prefix;
+ if ($type === 'url' && $base_directory !== 'public') {
+ $prefix = config('lfm.prefix', 'laravel-filemanager') . '/' . $prefix;
114
115
116
return $prefix;
0 commit comments