[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
vendor_prefixed
/
twig
/
twig
/
twig
/
src
/
Node
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Expression
SET
[ DEL ]
📄 BodyNode.php
415 B
SET
[ EDIT ]
|
[ DEL ]
📄 DoNode.php
840 B
SET
[ EDIT ]
|
[ DEL ]
📄 FlushNode.php
700 B
SET
[ EDIT ]
|
[ DEL ]
📄 IfNode.php
1,648 B
SET
[ EDIT ]
|
[ DEL ]
📄 NameDeprecation.php
928 B
SET
[ EDIT ]
|
[ DEL ]
📄 Node.php
7,959 B
SET
[ EDIT ]
|
[ DEL ]
📄 PrintNode.php
1,027 B
SET
[ EDIT ]
|
[ DEL ]
📄 SandboxNode.php
1,126 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: SandboxNode.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. */ namespace ElementorDeps\Twig\Node; use ElementorDeps\Twig\Attribute\YieldReady; use ElementorDeps\Twig\Compiler; /** * Represents a sandbox node. * * @author Fabien Potencier <fabien@symfony.com> */ #[YieldReady] class SandboxNode extends Node { public function __construct(Node $body, int $lineno, ?string $tag = null) { parent::__construct(['body' => $body], [], $lineno, $tag); } public function compile(Compiler $compiler) : void { $compiler->addDebugInfo($this)->write("if (!\$alreadySandboxed = \$this->sandbox->isSandboxed()) {\n")->indent()->write("\$this->sandbox->enableSandbox();\n")->outdent()->write("}\n")->write("try {\n")->indent()->subcompile($this->getNode('body'))->outdent()->write("} finally {\n")->indent()->write("if (!\$alreadySandboxed) {\n")->indent()->write("\$this->sandbox->disableSandbox();\n")->outdent()->write("}\n")->outdent()->write("}\n"); } }