mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 10:48:59 +00:00
[ticket/13768] Fix deprecations
PHPBB3-13768
This commit is contained in:
parent
9939ced81f
commit
de5a5c41f8
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue