mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
废弃think/session/Driver.php
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
namespace think\session\driver;
|
||||
|
||||
use think\Config;
|
||||
use think\session\Driver;
|
||||
use SessionHandler;
|
||||
|
||||
class Redis extends Driver
|
||||
class Redis extends SessionHandler
|
||||
{
|
||||
protected $handler = null;
|
||||
protected $config = [
|
||||
@@ -27,6 +27,11 @@ class Redis extends Driver
|
||||
'session_name' => '', // memcache key前缀
|
||||
];
|
||||
|
||||
public function __construct($config = [])
|
||||
{
|
||||
$this->config = array_merge($this->config, $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* 打开Session
|
||||
* @access public
|
||||
|
||||
Reference in New Issue
Block a user