mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-04 06:12:48 +08:00
添加api接口的支持
This commit is contained in:
3
library/think/cache/driver/wincache.php
vendored
3
library/think/cache/driver/wincache.php
vendored
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace think\cache\driver;
|
||||
use think\Exception;
|
||||
|
||||
/**
|
||||
* Wincache缓存驱动
|
||||
@@ -30,7 +31,7 @@ class Wincache {
|
||||
*/
|
||||
public function __construct($options=[]) {
|
||||
if ( !function_exists('wincache_ucache_info') ) {
|
||||
E('_NOT_SUPPERT_:WinCache');
|
||||
throw new Exception('_NOT_SUPPERT_:WinCache');
|
||||
}
|
||||
if(!empty($options)) {
|
||||
$this->options = array_merge($this->options,$options);
|
||||
|
||||
Reference in New Issue
Block a user