mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/12661] Load extensions templates from "all" folder by render()
PHPBB3-12661
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user