1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-25 17:41:25 +02:00

[ticket/13266] Enable the debug extension in the development environment

PHPBB3-13266
This commit is contained in:
Tristan Darricau
2014-11-22 12:33:45 +01:00
parent 0a49dad112
commit 6850169095
4 changed files with 19 additions and 1 deletions

View File

@@ -67,6 +67,12 @@ class core extends Extension
);
}
}
if ($config['twig']['enable_debug_extension'])
{
$definition = $container->getDefinition('template.twig.extensions.debug');
$definition->addTag('twig.extension');
}
}
/**