mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 22:51:23 +02:00
[feature/twig] Don't require phpbb_config, some tests pass null
PHPBB3-11598
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user