mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
Merge branch 'master' of https://github.com/top-think/think
This commit is contained in:
@@ -121,7 +121,9 @@ return [
|
|||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
|
||||||
'log' => [
|
'log' => [
|
||||||
'type' => 'File', // 支持 file socket trace sae
|
// 日志记录方式,支持 file socket trace sae
|
||||||
|
'type' => 'File',
|
||||||
|
// 日志保存目录
|
||||||
'path' => LOG_PATH,
|
'path' => LOG_PATH,
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -130,9 +132,13 @@ return [
|
|||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
|
||||||
'cache' => [
|
'cache' => [
|
||||||
|
// 驱动方式
|
||||||
'type' => 'File',
|
'type' => 'File',
|
||||||
|
// 缓存保存目录
|
||||||
'path' => CACHE_PATH,
|
'path' => CACHE_PATH,
|
||||||
|
// 缓存前缀
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
|
// 缓存有效期 0表示永久缓存
|
||||||
'expire' => 0,
|
'expire' => 0,
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -142,9 +148,13 @@ return [
|
|||||||
|
|
||||||
'session' => [
|
'session' => [
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'var_session_id' => '', // SESSION_ID的提交变量,解决flash上传跨域
|
// SESSION_ID的提交变量,解决flash上传跨域
|
||||||
|
'var_session_id' => '',
|
||||||
|
// SESSION 前缀
|
||||||
'prefix' => 'think',
|
'prefix' => 'think',
|
||||||
|
// 驱动方式 支持redis memcache memcached
|
||||||
'type' => '',
|
'type' => '',
|
||||||
|
// 是否自动开启 SESSION
|
||||||
'auto_start' => true,
|
'auto_start' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user