内核更新
This commit is contained in:
3
core/library/think/cache/driver/File.php
vendored
3
core/library/think/cache/driver/File.php
vendored
@@ -28,7 +28,7 @@ class File extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @param array $options
|
||||
*/
|
||||
public function __construct($options = [])
|
||||
@@ -225,6 +225,7 @@ class File extends Driver
|
||||
foreach ($files as $path) {
|
||||
if (is_dir($path)) {
|
||||
array_map('unlink', glob($path . '/*.php'));
|
||||
rmdir($path);
|
||||
} else {
|
||||
unlink($path);
|
||||
}
|
||||
|
||||
2
core/library/think/cache/driver/Lite.php
vendored
2
core/library/think/cache/driver/Lite.php
vendored
@@ -26,7 +26,7 @@ class Lite extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @access public
|
||||
*
|
||||
* @param array $options
|
||||
|
||||
2
core/library/think/cache/driver/Memcache.php
vendored
2
core/library/think/cache/driver/Memcache.php
vendored
@@ -25,7 +25,7 @@ class Memcache extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @param array $options 缓存参数
|
||||
* @access public
|
||||
* @throws \BadFunctionCallException
|
||||
|
||||
@@ -27,7 +27,7 @@ class Memcached extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @param array $options 缓存参数
|
||||
* @access public
|
||||
*/
|
||||
|
||||
2
core/library/think/cache/driver/Redis.php
vendored
2
core/library/think/cache/driver/Redis.php
vendored
@@ -34,7 +34,7 @@ class Redis extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @param array $options 缓存参数
|
||||
* @access public
|
||||
*/
|
||||
|
||||
2
core/library/think/cache/driver/Sqlite.php
vendored
2
core/library/think/cache/driver/Sqlite.php
vendored
@@ -28,7 +28,7 @@ class Sqlite extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @param array $options 缓存参数
|
||||
* @throws \BadFunctionCallException
|
||||
* @access public
|
||||
|
||||
2
core/library/think/cache/driver/Wincache.php
vendored
2
core/library/think/cache/driver/Wincache.php
vendored
@@ -25,7 +25,7 @@ class Wincache extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @param array $options 缓存参数
|
||||
* @throws \BadFunctionCallException
|
||||
* @access public
|
||||
|
||||
2
core/library/think/cache/driver/Xcache.php
vendored
2
core/library/think/cache/driver/Xcache.php
vendored
@@ -25,7 +25,7 @@ class Xcache extends Driver
|
||||
];
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @param array $options 缓存参数
|
||||
* @access public
|
||||
* @throws \BadFunctionCallException
|
||||
|
||||
Reference in New Issue
Block a user