Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
plib
/
vendor
/
plesk
/
ratchetphp
/
src
/
Ratchet
/
Session
/
Storage
/
Proxy
/
File Content:
VirtualProxy.php
<?php namespace Ratchet\Session\Storage\Proxy; use Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy; class VirtualProxy extends SessionHandlerProxy { /** * @var string */ protected $_sessionId; /** * @var string */ protected $_sessionName; /** * {@inheritdoc} */ public function __construct(\SessionHandlerInterface $handler) { parent::__construct($handler); $this->saveHandlerName = 'user'; $this->_sessionName = ini_get('session.name'); } /** * {@inheritdoc} */ public function getId() { return $this->_sessionId; } /** * {@inheritdoc} */ public function setId($id) { $this->_sessionId = $id; } /** * {@inheritdoc} */ public function getName() { return $this->_sessionName; } /** * DO NOT CALL THIS METHOD * @internal */ public function setName($name) { throw new \RuntimeException("Can not change session name in VirtualProxy"); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
VirtualProxy.php
1102 bytes
0644
N4ST4R_ID | Naxtarrr