mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:28:55 +00:00
[ticket/16382] Update Twig_Loader_Filesystem
PHPBB3-16382
This commit is contained in:
parent
07b2046685
commit
8a040f3fbc
1 changed files with 5 additions and 5 deletions
|
@ -111,11 +111,11 @@ class loader extends \Twig\Loader\FilesystemLoader
|
|||
}
|
||||
|
||||
/**
|
||||
* Find the template
|
||||
*
|
||||
* Override for Twig_Loader_Filesystem::findTemplate to add support
|
||||
* for loading from safe directories.
|
||||
*/
|
||||
* Find the template
|
||||
*
|
||||
* Override for \Twig\Loader\FilesystemLoader::findTemplate
|
||||
* to add support for loading from safe directories.
|
||||
*/
|
||||
protected function findTemplate($name, $throw = true)
|
||||
{
|
||||
$name = (string) $name;
|
||||
|
|
Loading…
Add table
Reference in a new issue