mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/template-events] Inject template compile into template filter.
This is needed for hooks in order for the filter to compile template files from extensions. PHPBB3-9550
This commit is contained in:
parent
d6c881d0c6
commit
09aae1ea30
1 changed files with 8 additions and 0 deletions
|
@ -94,6 +94,13 @@ class phpbb_template_filter extends php_user_filter
|
||||||
*/
|
*/
|
||||||
private $extension_manager;
|
private $extension_manager;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template compiler.
|
||||||
|
*
|
||||||
|
* @var phpbb_template_compile
|
||||||
|
*/
|
||||||
|
private $template_compile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stream filter
|
* Stream filter
|
||||||
*
|
*
|
||||||
|
@ -156,6 +163,7 @@ class phpbb_template_filter extends php_user_filter
|
||||||
$this->locator = $this->params['locator'];
|
$this->locator = $this->params['locator'];
|
||||||
$this->phpbb_root_path = $this->params['phpbb_root_path'];
|
$this->phpbb_root_path = $this->params['phpbb_root_path'];
|
||||||
$this->extension_manager = $this->params['extension_manager'];
|
$this->extension_manager = $this->params['extension_manager'];
|
||||||
|
$this->template_compile = $this->params['template_compile'];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue