mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
Merge branch '3.3.x'
This commit is contained in:
@@ -87,9 +87,12 @@ class twig extends \phpbb\template\base
|
||||
$this->loader = $twig_environment->getLoader();
|
||||
|
||||
foreach ($extensions as $extension)
|
||||
{
|
||||
if (!$this->twig->hasExtension(get_class($extension)))
|
||||
{
|
||||
$this->twig->addExtension($extension);
|
||||
}
|
||||
}
|
||||
|
||||
// Add admin namespace
|
||||
if ($this->path_helper->get_adm_relative_path() !== null
|
||||
|
Reference in New Issue
Block a user