mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 22:14:59 +02:00
[feature/twig] Only set extensions if extension manager is loaded
PHPBB3-11598
This commit is contained in:
parent
a61dd78fc9
commit
2819a2641b
@ -126,7 +126,10 @@ class phpbb_template_twig implements phpbb_template
|
|||||||
));
|
));
|
||||||
|
|
||||||
// Set enabled phpbb extensions
|
// Set enabled phpbb extensions
|
||||||
$this->twig->set_phpbb_extensions($this->extension_manager->all_enabled());
|
if ($this->extension_manager)
|
||||||
|
{
|
||||||
|
$this->twig->set_phpbb_extensions($this->extension_manager->all_enabled());
|
||||||
|
}
|
||||||
|
|
||||||
// Clear previous cache files (while WIP)
|
// Clear previous cache files (while WIP)
|
||||||
// @todo remove
|
// @todo remove
|
||||||
|
Loading…
x
Reference in New Issue
Block a user