This commit is contained in:
thinkphp
2016-03-15 21:50:29 +08:00

View File

@@ -121,7 +121,9 @@ return [
// +----------------------------------------------------------------------
'log' => [
'type' => 'File', // 支持 file socket trace sae
// 日志记录方式,支持 file socket trace sae
'type' => 'File',
// 日志保存目录
'path' => LOG_PATH,
],
@@ -130,9 +132,13 @@ return [
// +----------------------------------------------------------------------
'cache' => [
// 驱动方式
'type' => 'File',
// 缓存保存目录
'path' => CACHE_PATH,
// 缓存前缀
'prefix' => '',
// 缓存有效期 0表示永久缓存
'expire' => 0,
],
@@ -142,9 +148,13 @@ return [
'session' => [
'id' => '',
'var_session_id' => '', // SESSION_ID的提交变量,解决flash上传跨域
// SESSION_ID的提交变量,解决flash上传跨域
'var_session_id' => '',
// SESSION 前缀
'prefix' => 'think',
// 驱动方式 支持redis memcache memcached
'type' => '',
// 是否自动开启 SESSION
'auto_start' => true,
],