mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 07:42:41 +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,8 +11,8 @@ 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