Skip to content

Commit

Permalink
增加配置参数
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed May 18, 2018
1 parent fea22b6 commit 980ba6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/app.php
Expand Up @@ -122,6 +122,10 @@
'request_cache_expire' => null,
// 全局请求缓存排除规则
'request_cache_except' => [],
// 是否开启路由缓存
'route_check_cache' => false,
// 路由缓存的Key自定义设置(闭包),默认为当前URL和请求类型的md5
'route_check_cache_key' => '',

// 默认跳转页面对应的模板文件
'dispatch_success_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl',
Expand Down

0 comments on commit 980ba6f

Please sign in to comment.