mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-22 11:45:42 +00:00
Use class_exists instead of require
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig\Sandbox;
|
||||
|
||||
require __DIR__.'/../../lib/Twig/Sandbox/SecurityNotAllowedFunctionError.php';
|
||||
class_exists('Twig_Sandbox_SecurityNotAllowedFunctionError');
|
||||
|
||||
if (\false) {
|
||||
class SecurityNotAllowedFunctionError extends \Twig_Sandbox_SecurityNotAllowedFunctionError
|
||||
|
||||
Reference in New Issue
Block a user