mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/16382] Update Twig_Loader_Filesystem
PHPBB3-16382
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user