mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-18 11:52:45 +00:00
18 lines
436 B
PHP
18 lines
436 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Twig.
|
|
*
|
|
* (c) Fabien Potencier
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
use Symfony\Component\ErrorHandler\ErrorHandler;
|
|
|
|
require __DIR__.'/vendor/autoload.php';
|
|
|
|
// see https://github.com/symfony/symfony/issues/53812#issuecomment-1962740145
|
|
set_exception_handler([new ErrorHandler(), 'handleException']);
|