mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12661] Load extensions templates from "all" folder by render()
PHPBB3-12661
This commit is contained in:
parent
154710aa50
commit
ae3b015f65
1 changed files with 4 additions and 0 deletions
|
@ -177,6 +177,10 @@ class twig extends \phpbb\template\base
|
||||||
}
|
}
|
||||||
|
|
||||||
$names = $this->get_user_style();
|
$names = $this->get_user_style();
|
||||||
|
// Add 'all' folder to $names array
|
||||||
|
// It allows extensions to load a template file from 'all' folder,
|
||||||
|
// if a style doesn't include it.
|
||||||
|
$names[] = 'all';
|
||||||
|
|
||||||
$paths = array();
|
$paths = array();
|
||||||
foreach ($style_directories as $directory)
|
foreach ($style_directories as $directory)
|
||||||
|
|
Loading…
Add table
Reference in a new issue