- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
Major
 - 
    3.2.0-dev
 - 
    None
 - 
    None
 
phpbbcli.php define the environment before loading the config.php file, so it is ignored.
					if (!defined('PHPBB_ENVIRONMENT'))
			 | 
		
					{
			 | 
		
						@define('PHPBB_ENVIRONMENT', 'production');
			 | 
		
					}
			 | 
		
this block of code needs to be moved after the call to extract($phpbb_config_php_file->get_all()); (like it is done in common.php)

