mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/twig] Don't require phpbb_config, some tests pass null
PHPBB3-11598
This commit is contained in:
parent
1c8c03c4db
commit
3766b736da
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class phpbb_template_twig_environment extends Twig_Environment
|
||||||
/** @var array **/
|
/** @var array **/
|
||||||
protected $namespaceLookUpOrder = array('__main__');
|
protected $namespaceLookUpOrder = array('__main__');
|
||||||
|
|
||||||
public function __construct(phpbb_config $phpbb_config, $phpbb_extensions, $phpbb_root_path, Twig_LoaderInterface $loader = null, $options = array())
|
public function __construct($phpbb_config, $phpbb_extensions, $phpbb_root_path, Twig_LoaderInterface $loader = null, $options = array())
|
||||||
{
|
{
|
||||||
$this->phpbb_config = $phpbb_config;
|
$this->phpbb_config = $phpbb_config;
|
||||||
$this->phpbb_extensions = $phpbb_extensions;
|
$this->phpbb_extensions = $phpbb_extensions;
|
||||||
|
|
Loading…
Add table
Reference in a new issue