From c742fd5335e3e1470e6ea573388ec6fac7fa1f89 Mon Sep 17 00:00:00 2001 From: huangdijia Date: Mon, 13 Apr 2015 14:29:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=B8=80=E8=A1=8C=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/cache/driver/memcache.php | 1 - 1 file changed, 1 deletion(-) diff --git a/library/think/cache/driver/memcache.php b/library/think/cache/driver/memcache.php index e3cd635f..50375b68 100644 --- a/library/think/cache/driver/memcache.php +++ b/library/think/cache/driver/memcache.php @@ -38,7 +38,6 @@ class Memcache { if(!empty($options)) { $this->options = array_merge($this->options,$options); } - $func = $this->options['persistent'] ? 'pconnect' : 'connect'; $this->handler = new \Memcache; // 支持集群 $hosts = explode(',', $this->options['host']);