废弃think/session/Driver.php

This commit is contained in:
huangdijia
2016-01-26 08:46:33 +08:00
parent 26d970a203
commit 20bdfe4046
3 changed files with 14 additions and 30 deletions

View File

@@ -11,10 +11,9 @@
namespace think\session\driver;
use think\Config;
use think\session\Driver;
use SessionHandler;
class Memcache extends Driver
class Memcache extends SessionHandler
{
protected $handler = null;
protected $config = [
@@ -26,6 +25,11 @@ class Memcache extends Driver
'session_name' => '', // memcache key前缀
];
public function __construct($config = [])
{
$this->config = array_merge($this->config, $config);
}
/**
* 打开Session
* @access public