mirror of
https://github.com/YGGverse/cache-php.git
synced 2026-03-31 17:45:28 +00:00
fix Memcached namespace
This commit is contained in:
parent
98c789d7d4
commit
904cba3b4b
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class Memory {
|
|||
|
||||
public function __construct(string $host, int $port, string $namespace, int $timeout)
|
||||
{
|
||||
$this->_memcached = new Memcached();
|
||||
$this->_memcached = new \Memcached();
|
||||
$this->_memcached->addServer($host, $port);
|
||||
|
||||
$this->_namespace = $namespace;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue