mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/13768] Fix deprecations
PHPBB3-13768
This commit is contained in:
@@ -150,7 +150,7 @@ class container_builder
|
|||||||
$config_cache = new ConfigCache($container_filename, defined('DEBUG'));
|
$config_cache = new ConfigCache($container_filename, defined('DEBUG'));
|
||||||
if ($this->dump_container && $config_cache->isFresh())
|
if ($this->dump_container && $config_cache->isFresh())
|
||||||
{
|
{
|
||||||
require($container_filename);
|
require($config_cache->getPath());
|
||||||
$this->container = new \phpbb_cache_container();
|
$this->container = new \phpbb_cache_container();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@@ -262,7 +262,7 @@ class router implements RouterInterface
|
|||||||
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
|
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once($cache);
|
require_once($cache->getPath());
|
||||||
|
|
||||||
$this->matcher = new \phpbb_url_matcher($this->context);
|
$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());
|
$cache->write($dumper->dump($options), $this->get_routes()->getResources());
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once($cache);
|
require_once($cache->getPath());
|
||||||
|
|
||||||
$this->generator = new \phpbb_url_generator($this->context);
|
$this->generator = new \phpbb_url_generator($this->context);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user