mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 01:33:16 +00:00
Update Localization util, filter out .DS_Store
This commit is contained in:
parent
4dda3b3763
commit
0107e8fd68
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ class Localization {
|
|||
{
|
||||
return Cache::remember('core:localization:languages', now()->addDays(1), function() {
|
||||
$dir = resource_path('lang');
|
||||
return Arr::flatten(array_diff(scandir($dir), array('..', '.', 'vendor')));
|
||||
return Arr::flatten(array_diff(scandir($dir), array('..', '.', 'vendor', '.DS_Store')));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue