diff --git a/classes/Cache.php b/classes/Cache.php index 8be0a20..3a847e8 100644 --- a/classes/Cache.php +++ b/classes/Cache.php @@ -139,7 +139,7 @@ class Cache extends Object if ($this->connection === null) { $this->connection = new Memcache(); - $this->connection->pconnect($this->hostname, $this->port); + $this->connection->connect($this->hostname, $this->port); } return true; diff --git a/jar.php b/jar.php index b500ddd..bd21971 100755 --- a/jar.php +++ b/jar.php @@ -718,7 +718,7 @@ class Cache extends Object if ($this->connection === null) { $this->connection = new Memcache(); - $this->connection->pconnect($this->hostname, $this->port); + $this->connection->connect($this->hostname, $this->port); } return true;