修正sqlite缓存驱动

This commit is contained in:
thinkphp
2016-07-07 12:12:18 +08:00
parent e35a0a88ac
commit 4f4eb5445b
2 changed files with 11 additions and 12 deletions

View File

@@ -12,11 +12,10 @@
namespace think\cache\driver; namespace think\cache\driver;
use think\Cache; use think\Cache;
use think\Exception;
class Memcached class Memcached
{ {
protected $handler = null; protected $handler;
protected $options = [ protected $options = [
'host' => '127.0.0.1', 'host' => '127.0.0.1',
'port' => 11211, 'port' => 11211,

View File

@@ -18,7 +18,7 @@ use think\Exception;
* Sqlite缓存驱动 * Sqlite缓存驱动
* @author liu21st <liu21st@gmail.com> * @author liu21st <liu21st@gmail.com>
*/ */
class Sqlite implements CacheInterface class Sqlite
{ {
protected $options = [ protected $options = [