phpBB

Code Changes

File: phpbb/di/container_builder.php

  Unmodified   Added   Modified   Removed
Line 137Line 137
	{
try
{

	{
try
{

			$container_filename = $this->get_container_filename();
$config_cache = new ConfigCache($container_filename, defined('DEBUG'));
if ($this->use_cache && $config_cache->isFresh())

			$build_container = true;

if ($this->use_cache)

			{
if ($this->use_extensions)
{
$autoload_cache = new ConfigCache($this->get_autoload_filename(), defined('DEBUG'));

			{
if ($this->use_extensions)
{
$autoload_cache = new ConfigCache($this->get_autoload_filename(), defined('DEBUG'));

 


					if (!$autoload_cache->isFresh())
{
// autoload cache should be refreshed

					if (!$autoload_cache->isFresh())
{
// autoload cache should be refreshed

Line 153Line 154
					require($this->get_autoload_filename());
}


					require($this->get_autoload_filename());
}


 
				$container_filename = $this->get_container_filename();
$config_cache = new ConfigCache($container_filename, defined('DEBUG'));

if ($config_cache->isFresh())
{

				require($config_cache->getPath());
$this->container = new \phpbb_cache_container();

				require($config_cache->getPath());
$this->container = new \phpbb_cache_container();

 
					$build_container = false;

			}

			}

			else



			}

if ($build_container)

			{
$this->container_extensions = [
new extension\core($this->get_config_path()),

			{
$this->container_extensions = [
new extension\core($this->get_config_path()),