kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Update Localization util, filter out .DS_Store
							rodzic
							
								
									4dda3b3763
								
							
						
					
					
						commit
						0107e8fd68
					
				|  | @ -11,8 +11,8 @@ class Localization { | ||||||
| 	{ | 	{ | ||||||
| 		return Cache::remember('core:localization:languages', now()->addDays(1), function() { | 		return Cache::remember('core:localization:languages', now()->addDays(1), function() { | ||||||
| 			$dir = resource_path('lang'); | 			$dir = resource_path('lang'); | ||||||
| 			return Arr::flatten(array_diff(scandir($dir), array('..', '.', 'vendor'))); | 			return Arr::flatten(array_diff(scandir($dir), array('..', '.', 'vendor', '.DS_Store'))); | ||||||
| 		}); | 		}); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Daniel Supernault
						Daniel Supernault