uawdijnntqw1x1x1
IP : 3.12.160.177
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
tyblue.6
/
..
/
admin.1
/
controller
/
.
/
startup
/
session.php
/
/
<?php namespace Opencart\Admin\Controller\Startup; class Session extends \Opencart\System\Engine\Controller { public function index(): void { $session = new \Opencart\System\Library\Session($this->config->get('session_engine'), $this->registry); $this->registry->set('session', $session); if (isset($this->request->cookie[$this->config->get('session_name')])) { $session_id = $this->request->cookie[$this->config->get('session_name')]; } else { $session_id = ''; } $session->start($session_id); // Setting the cookie path to the store front so admin users can login to cutomers accounts. $path = dirname($_SERVER['PHP_SELF']); $path = substr($path, 0, strrpos($path, '/')) . '/'; // Update the session lifetime if ($this->config->get('config_session_expire')) { $this->config->set('session_expire', $this->config->get('config_session_expire')); } // Require higher security for session cookies $option = [ 'expires' => $this->config->get('config_session_expire') ? time() + (int)$this->config->get('config_session_expire') : 0, 'path' => !empty($_SERVER['PHP_SELF']) ? $path : '', 'secure' => $this->request->server['HTTPS'], 'httponly' => false, 'SameSite' => $this->config->get('session_samesite') ]; setcookie($this->config->get('session_name'), $session->getId(), $option); } }
/home/sudancam/.trash/tyblue.6/../admin.1/controller/./startup/session.php