mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-08-07 06:19:44 +08:00
ComposerUpdate
This commit is contained in:
parent
2bf3a38686
commit
21ab984a40
@ -18,8 +18,6 @@ return [
|
||||
'app_namespace' => '',
|
||||
// 是否启用路由
|
||||
'with_route' => true,
|
||||
// 是否启用事件
|
||||
'with_event' => true,
|
||||
// 开启应用快速访问
|
||||
'app_express' => true,
|
||||
// 默认应用
|
||||
|
@ -20,10 +20,12 @@ return [
|
||||
'path' => '/',
|
||||
// cookie 有效域名
|
||||
'domain' => '',
|
||||
// cookie 启用安全传输
|
||||
// cookie 安全传输
|
||||
'secure' => false,
|
||||
// httponly 设置
|
||||
// httponly 访问设置
|
||||
'httponly' => true,
|
||||
// 是否使用 setcookie
|
||||
'setcookie' => true,
|
||||
// samesite 设置,支持 'strict' 'lax'
|
||||
'samesite' => '',
|
||||
];
|
||||
|
@ -58,7 +58,7 @@ return [
|
||||
// 监听SQL
|
||||
'trigger_sql' => true,
|
||||
// 开启字段缓存
|
||||
'fields_cache' => app()->debug(),
|
||||
'fields_cache' => false,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
@ -21,7 +21,7 @@ return [
|
||||
// 日志类型记录的通道 ['error'=>'email',...]
|
||||
'type_channel' => [],
|
||||
// 关闭全局日志写入
|
||||
'close' => true,
|
||||
'close' => false,
|
||||
// 全局日志处理 支持闭包
|
||||
'processor' => null,
|
||||
// 日志通道列表
|
||||
|
@ -36,7 +36,7 @@ return [
|
||||
'controller_suffix' => false,
|
||||
// 默认的路由变量规则
|
||||
'default_route_pattern' => '[\w\.]+',
|
||||
// 是否开启请求缓存 true自动缓存 支持设置请求缓存规则
|
||||
// 是否开启请求缓存 true 自动缓存 支持设置请求缓存规则
|
||||
'request_cache' => false,
|
||||
// 请求缓存有效期
|
||||
'request_cache_expire' => null,
|
||||
|
@ -14,8 +14,14 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
// 字段名称
|
||||
'name' => 'PHPSESSID',
|
||||
// 驱动方式
|
||||
'type' => 'file',
|
||||
// 存储连接
|
||||
'store' => null,
|
||||
// 过期时间
|
||||
'expire' => 1800,
|
||||
// 前缀
|
||||
'prefix' => '',
|
||||
];
|
||||
];
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// This file is automatically generated at:2020-11-18 10:26:02
|
||||
// This file is automatically generated at:2020-11-19 09:51:57
|
||||
declare (strict_types = 1);
|
||||
return array (
|
||||
0 => 'think\\admin\\Library',
|
||||
|
Loading…
x
Reference in New Issue
Block a user