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