mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 15:48:42 +00:00
Use class_exists instead of require
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig\Loader;
|
||||
|
||||
require __DIR__.'/../../lib/Twig/Loader/Chain.php';
|
||||
class_exists('Twig_Loader_Chain');
|
||||
|
||||
if (\false) {
|
||||
class ChainLoader extends \Twig_Loader_Chain
|
||||
|
||||
Reference in New Issue
Block a user