[ticket/13768] Fix deprecations

PHPBB3-13768
This commit is contained in:
Tristan Darricau 2015-04-19 17:41:29 +02:00
parent 9939ced81f
commit de5a5c41f8
2 changed files with 3 additions and 3 deletions

View file

@ -150,7 +150,7 @@ class container_builder
$config_cache = new ConfigCache($container_filename, defined('DEBUG'));
if ($this->dump_container && $config_cache->isFresh())
{
require($container_filename);
require($config_cache->getPath());
$this->container = new \phpbb_cache_container();
}
else

View file

@ -262,7 +262,7 @@ class router implements RouterInterface
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
}
require_once($cache);
require_once($cache->getPath());
$this->matcher = new \phpbb_url_matcher($this->context);
}
@ -310,7 +310,7 @@ class router implements RouterInterface
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
}
require_once($cache);
require_once($cache->getPath());
$this->generator = new \phpbb_url_generator($this->context);
}