mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
[feature/twig] Don't require phpbb_config, some tests pass null
PHPBB3-11598
This commit is contained in:
parent
1c8c03c4db
commit
3766b736da
@ -29,7 +29,7 @@ class phpbb_template_twig_environment extends Twig_Environment
|
||||
/** @var array **/
|
||||
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_extensions = $phpbb_extensions;
|
||||
|
Loading…
x
Reference in New Issue
Block a user