1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12630] Add debug.url_matcher

PHPBB3-12630
This commit is contained in:
Rubén Calvo
2018-09-01 01:37:08 +02:00
committed by rubencm
parent d94ee3f864
commit f8888c62ca
3 changed files with 3 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ class router implements RouterInterface
{
try
{
$cache = new ConfigCache("{$this->cache_dir}url_matcher.{$this->php_ext}", defined('DEBUG'));
$cache = new ConfigCache("{$this->cache_dir}url_matcher.{$this->php_ext}", $this->container->getParameter('debug.url_matcher'));
if (!$cache->isFresh())
{
$dumper = new PhpMatcherDumper($this->get_routes());