mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-28 08:05:03 +00:00
Use class_exists instead of require
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig;
|
||||
|
||||
require __DIR__.'/../lib/Twig/Environment.php';
|
||||
class_exists('Twig_Environment');
|
||||
|
||||
if (\false) {
|
||||
class Environment extends \Twig_Environment
|
||||
|
||||
Reference in New Issue
Block a user