move load_traslation_table after db setup
This commit is contained in:
		
					parent
					
						
							
								5214eb2bda
							
						
					
				
			
			
				commit
				
					
						7b01e735ae
					
				
			
		
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -32,9 +32,7 @@ $install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
$lang = get_browser_language();
 | 
			
		||||
 | 
			
		||||
load_translation_table($lang);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			@ -62,6 +60,9 @@ if(!$install) {
 | 
			
		|||
	$maintenance = get_config('system', 'maintenance');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$lang = get_browser_language();
 | 
			
		||||
 | 
			
		||||
load_translation_table($lang);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue