diff options
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/functions_container.php | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/phpBB/includes/functions_container.php b/phpBB/includes/functions_container.php index 1de1d9f7ea..1763d1082a 100644 --- a/phpBB/includes/functions_container.php +++ b/phpBB/includes/functions_container.php @@ -126,11 +126,8 @@ function phpbb_create_dumped_container(array $extensions, array $passes, $phpbb_  function phpbb_create_dumped_container_unless_debug(array $extensions, array $passes, $phpbb_root_path, $php_ext)  { -	if (defined('DEBUG')) { -		return phpbb_create_compiled_container($extensions, $passes, $phpbb_root_path, $php_ext); -	} - -	return phpbb_create_dumped_container($extensions, $passes, $phpbb_root_path, $php_ext); +	$container_factory = defined('DEBUG') ? 'phpbb_create_compiled_container' : 'phpbb_create_dumped_container'; +	return $container_factory($extensions, $passes, $phpbb_root_path, $php_ext);  }  function phpbb_container_filename($phpbb_root_path, $php_ext)  | 
