mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Avoid showing warning message when configuration file incomplete
This commit is contained in:
		
							parent
							
								
									d89aaa8d56
								
							
						
					
					
						commit
						c6f0f8d336
					
				@ -71,7 +71,7 @@ class MageApplication extends Application
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (array_key_exists('magephp', $config)) {
 | 
			
		||||
            $config = $config['magephp'];
 | 
			
		||||
            $config = is_null($config['magephp']) ? [] : $config['magephp'];
 | 
			
		||||
 | 
			
		||||
            $logger = null;
 | 
			
		||||
            if (array_key_exists('log_dir', $config) && file_exists($config['log_dir']) && is_dir($config['log_dir'])) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user