增加controller_auto_search配置参数用于设置URL解析支持自动搜索控制器 改进Route类的parseRoute方法

This commit is contained in:
thinkphp
2016-05-22 11:50:29 +08:00
parent 10d62d854c
commit 988671e991
3 changed files with 39 additions and 17 deletions

View File

@@ -50,6 +50,8 @@ return [
'empty_controller' => 'Error',
// 操作方法后缀
'action_suffix' => '',
// 自动搜索控制器
'controller_auto_search' => false,
// +----------------------------------------------------------------------
// | URL设置