7 Star 44 Fork 26

xiaodi/think-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
session.php 832 Bytes
一键复制 编辑 原始数据 按行查看 历史
Eden Leung 提交于 2020-12-05 17:43 +08:00 . Apply fixes from StyleCI
<?php
/*
* This file is part of TAnt.
* @link https://github.com/edenleung/think-admin
* @document https://www.kancloud.cn/manual/thinkphp6_0
* @contact QQ Group 996887666
* @author Eden Leung 758861884@qq.com
* @copyright 2019 Eden Leung
* @license https://github.com/edenleung/think-admin/blob/6.0/LICENSE.txt
*/
// | 会话设置
// +----------------------------------------------------------------------
return [
// session name
'name' => 'PHPSESSID',
// SESSION_ID的提交变量,解决flash上传跨域
'var_session_id' => '',
// 驱动方式 支持file cache
'type' => 'file',
// 存储连接标识 当type使用cache的时候有效
'store' => null,
// 过期时间
'expire' => 1440,
// 前缀
'prefix' => '',
];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/heehee/think-admin.git
git@gitee.com:heehee/think-admin.git
heehee
think-admin
think-admin
6.0-next

搜索帮助