1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-16 14:46:28 +02:00

[feature/twig] Don't require phpbb_config, some tests pass null

PHPBB3-11598
This commit is contained in:
Nathaniel Guse
2013-06-25 18:06:45 -05:00
parent 1c8c03c4db
commit 3766b736da

View File

@ -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;