ヤミRoot VoidGate
User / IP
:
216.73.216.110
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
symfony
/
symfony
/
src
/
Symfony
/
Bridge
/
Twig
/
Node
/
Viewing: FormThemeNode.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bridge\Twig\Node; use Symfony\Bridge\Twig\Form\TwigRenderer; use Symfony\Component\Form\FormRenderer; use Twig\Compiler; use Twig\Error\RuntimeError; use Twig\Node\Node; /** * @author Fabien Potencier <fabien@symfony.com> */ class FormThemeNode extends Node { public function __construct(Node $form, Node $resources, $lineno, $tag = null, $only = false) { parent::__construct(array('form' => $form, 'resources' => $resources), array('only' => (bool) $only), $lineno, $tag); } public function compile(Compiler $compiler) { try { $compiler->getEnvironment()->getRuntime(FormRenderer::class); $renderer = FormRenderer::class; } catch (RuntimeError $e) { $renderer = TwigRenderer::class; } $compiler ->addDebugInfo($this) ->write('$this->env->getRuntime(') ->string($renderer) ->raw(')->setTheme(') ->subcompile($this->getNode('form')) ->raw(', ') ->subcompile($this->getNode('resources')) ->raw(', ') ->raw(false === $this->getAttribute('only') ? 'true' : 'false') ->raw(");\n"); } }
Coded With 💗 by
0x6ick