mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +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
|
* Find the template
|
||||||
*
|
*
|
||||||
* Override for Twig_Loader_Filesystem::findTemplate to add support
|
* Override for \Twig\Loader\FilesystemLoader::findTemplate
|
||||||
* for loading from safe directories.
|
* to add support for loading from safe directories.
|
||||||
*/
|
*/
|
||||||
protected function findTemplate($name, $throw = true)
|
protected function findTemplate($name, $throw = true)
|
||||||
{
|
{
|
||||||
$name = (string) $name;
|
$name = (string) $name;
|
||||||
|
|
Loading…
Add table
Reference in a new issue