数组定义用法统一

This commit is contained in:
thinkphp
2013-04-11 14:49:39 +08:00
parent bbe3ebedcf
commit 00ee80e943
35 changed files with 83 additions and 81 deletions

View File

@@ -9,13 +9,14 @@
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
namespace Think\Cache\Driver;
/**
* 文件类型缓存类
* @author liu21st <liu21st@gmail.com>
*/
class File {
protected $options = array(
protected $options = [
'expire' => 0,
'cache_subdir' => false,
'path_level' => 1,
@@ -23,7 +24,7 @@ class File {
'length' => 0,
'temp' => '',
'data_compress' => false,
);
];
/**
* 架构函数