uawdijnntqw1x1x1
IP : 18.191.80.171
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
/
public_html
/
..
/
.trash
/
fonts
/
..
/
.
/
system.1
/
library
/
cache.php
/
/
<?php /** * @package OpenCart * @author Daniel Kerr * @copyright Copyright (c) 2005 - 2017, OpenCart, Ltd. (https://www.opencart.com/) * @license https://opensource.org/licenses/GPL-3.0 * @link https://www.opencart.com */ /** * Cache class */ namespace Opencart\System\Library; class Cache { private object $adaptor; /** * Constructor * * @param string $adaptor The type of storage for the cache. * @param int $expire Optional parameters * */ public function __construct(string $adaptor, int $expire = 3600) { $class = 'Opencart\System\Library\Cache\\' . $adaptor; if (class_exists($class)) { $this->adaptor = new $class($expire); } else { throw new \Exception('Error: Could not load cache adaptor ' . $adaptor . ' cache!'); } } /** * Gets a cache by key name. * * @param string $key The cache key name * * @return string */ public function get(string $key): array|string|null { return $this->adaptor->get($key); } /** * Sets a cache by key value. * * @param string $key The cache key * @param string $value The cache value * * @return string */ public function set(string $key, array|string|null $value, int $expire = 0): void { $this->adaptor->set($key, $value, $expire); } /** * Deletes a cache by key name. * * @param string $key The cache key */ public function delete(string $key): void { $this->adaptor->delete($key); } }
/home/sudancam/public_html/../.trash/fonts/.././system.1/library/cache.php