一个bug关于缓存的

浏览:408 发布日期:2016/04/22 分类:ThinkPHP5专区
http://ttst.2xso.com/158/T/ThinkPHP/ThinkPHP5/04/21/01/2.html
错误信息在上面的页面中$options = [
            'type'  =>  'File', // 缓存类型为File
            'expire'=>  0, // 缓存有效期为永久有效
            'length'=>  3, // 缓存队列长度
            'path'  =>  APP_PATH.'runtime/cache/', // 指定缓存目录
         ];
        S($options); // 缓存初始化

S('record_where',$where,3600); //这一行已经报错,$where的内容错误页面有的
这样实例化的,然后储存的,缓存文件已经生成了 ,看截图

最佳答案
评论( 相关
后面还有条评论,点击查看>>