mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update Localization cache time, closes #959
This commit is contained in:
parent
5084c8a2bf
commit
c7e4e14b7e
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class Localization {
|
|||
|
||||
public static function languages()
|
||||
{
|
||||
return Cache::remember('core:localization:languages', now()->addDays(14), function() {
|
||||
return Cache::remember('core:localization:languages', now()->addDays(1), function() {
|
||||
$dir = resource_path('lang');
|
||||
return Arr::flatten(array_diff(scandir($dir), array('..', '.', 'vendor')));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue