mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[feature/template-events] Invoke template hooks that are template-specific.
PHPBB3-9550
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user