改进Route类的路由匹配后的后置行为 允许单独执行输出 并废除 response_auto_output 配置参数

This commit is contained in:
thinkphp
2016-05-10 16:08:10 +08:00
parent 46009e3c2e
commit 0d497d4abb
3 changed files with 11 additions and 7 deletions

View File

@@ -31,8 +31,6 @@ return [
'lang_switch_on' => false,
// 默认全局过滤方法 用逗号分隔多个
'default_filter' => '',
// 自动Response输出
'response_auto_output' => true,
// 是否启用控制器类后缀
'use_controller_suffix' => false,
@@ -214,9 +212,9 @@ return [
'slave_no' => '',
],
//分页配置
'paginate' => [
'paginate' => [
'type' => 'bootstrap',
'var_page' => 'page'
]
'var_page' => 'page',
],
];