Update Localization cache time, closes #959

This commit is contained in:
Daniel Supernault 2019-03-05 12:16:21 -07:00
parent 5084c8a2bf
commit c7e4e14b7e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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')));
});