Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.254.100
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
asset /
Context /
Delete
Unzip
Name
Size
Permission
Date
Action
ContextInterface.php
656
B
-rw-rw-r--
2022-03-18 16:00
NullContext.php
629
B
-rw-rw-r--
2022-03-18 16:00
RequestStackContext.php
1.24
KB
-rw-rw-r--
2022-03-18 16:00
Save
Rename
<?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\Component\Asset\Context; use Symfony\Component\HttpFoundation\RequestStack; /** * Uses a RequestStack to populate the context. * * @author Fabien Potencier <fabien@symfony.com> */ class RequestStackContext implements ContextInterface { private $requestStack; private $basePath; private $secure; public function __construct(RequestStack $requestStack, string $basePath = '', bool $secure = false) { $this->requestStack = $requestStack; $this->basePath = $basePath; $this->secure = $secure; } /** * {@inheritdoc} */ public function getBasePath() { if (!$request = $this->requestStack->getMainRequest()) { return $this->basePath; } return $request->getBasePath(); } /** * {@inheritdoc} */ public function isSecure() { if (!$request = $this->requestStack->getMainRequest()) { return $this->secure; } return $request->isSecure(); } }