mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
[ticket/15765] Add debug.url_generator
PHPBB3-15765
This commit is contained in:
committed by
Marc Alexander
parent
59e5f17cd6
commit
6b337e0882
@@ -255,7 +255,7 @@ class router implements RouterInterface
|
||||
{
|
||||
try
|
||||
{
|
||||
$cache = new ConfigCache("{$this->cache_dir}url_generator.{$this->php_ext}", defined('DEBUG'));
|
||||
$cache = new ConfigCache("{$this->cache_dir}url_generator.{$this->php_ext}", $this->container->getParameter('debug.url_generator'));
|
||||
if (!$cache->isFresh())
|
||||
{
|
||||
$dumper = new PhpGeneratorDumper($this->get_routes());
|
||||
|
Reference in New Issue
Block a user