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:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user