mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[ticket/16382] Update Twig_Loader_Filesystem
PHPBB3-16382
This commit is contained in:
@@ -113,8 +113,8 @@ 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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user