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