uawdijnntqw1x1x1
IP : 3.136.26.105
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
/
wp-content
/
..
/
.
/
system.1
/
library
/
cache
/
redis.php
/
/
<?php namespace Opencart\System\Library\Cache; class Redis { private int $expire; private object $cache; public function __construct(int $expire = 3600) { $this->expire = $expire; $this->cache = new \Redis(); $this->cache->pconnect(CACHE_HOSTNAME, CACHE_PORT); } public function get(string $key): array|string|null { $data = $this->cache->get(CACHE_PREFIX . $key); return json_decode($data, true); } public function set(string $key, array|string|null $value, int $expire = 0) { if (!$expire) { $expire = $this->expire; } $status = $this->cache->set(CACHE_PREFIX . $key, json_encode($value)); if ($status) { $this->cache->expire(CACHE_PREFIX . $key, $expire); } } public function delete(string $key): bool { $this->cache->del(CACHE_PREFIX . $key); } }
/home/sudancam/.trash/wp-content/.././system.1/library/cache/redis.php