mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16382] Update remaining Twig_ references
PHPBB3-16382
This commit is contained in:
@@ -139,7 +139,7 @@ class loader extends \Twig\Loader\FilesystemLoader
|
||||
// Try validating the name (which may throw an exception)
|
||||
$this->validateName($name);
|
||||
}
|
||||
catch (\Twig_Error_Loader $e)
|
||||
catch (\Twig\Error\LoaderError $e)
|
||||
{
|
||||
if (strpos($e->getRawMessage(), 'Looks like you try to load a template outside configured directories') === 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user