mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] allow settin custom locale from settins.yml
This commit is contained in:
		
							parent
							
								
									ab2f56e886
								
							
						
					
					
						commit
						6df4172887
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -11,7 +11,7 @@ if version[0] == '3': | |||
| 
 | ||||
| 
 | ||||
| COOKIE_MAX_AGE = 60 * 60 * 24 * 365 * 5  # 5 years | ||||
| LANGUAGE_CODES = [l[0] for l in languages] | ||||
| LANGUAGE_CODES = [l[0].split('-')[0] for l in languages] | ||||
| LANGUAGE_CODES.append('all') | ||||
| DISABLED = 0 | ||||
| ENABLED = 1 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Adam Tauber
						Adam Tauber