cache类的init方法增加参数 File缓存驱动去掉不再支持的path_level参数

This commit is contained in:
thinkphp
2016-08-08 17:48:17 +08:00
parent 3923c2dbb5
commit 41f7145ace
2 changed files with 3 additions and 4 deletions

View File

@@ -17,11 +17,9 @@ namespace think\cache\driver;
*/
class File
{
protected $options = [
'expire' => 0,
'cache_subdir' => false,
'path_level' => 1,
'prefix' => '',
'path' => CACHE_PATH,
'data_compress' => false,