mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/template-events] Invoke template hooks that are template-specific.
PHPBB3-9550
This commit is contained in:
parent
a6c7fbc59d
commit
bdbb382a26
1 changed files with 7 additions and 0 deletions
|
@ -892,6 +892,13 @@ class phpbb_template_filter extends php_user_filter
|
|||
->extension_directory("/styles/all/template")
|
||||
->get_files();
|
||||
|
||||
$files = array_merge($files, $finder
|
||||
->extension_prefix($location)
|
||||
->extension_suffix('.html')
|
||||
// XXX is this safe?
|
||||
->extension_directory("/styles/" . $this->template_name . "/template")
|
||||
->get_files());
|
||||
|
||||
$all_compiled = '';
|
||||
foreach ($files as $file)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue