取消CLASS_APPEND_SUFFIX常量 使用App::$suffix 替代 使用 class_suffix 配置参数设置 use_controller_suffix 配置更改为 controller_suffix Build类run和module方法增加suffix参数

This commit is contained in:
thinkphp
2016-06-15 23:01:10 +08:00
parent 2aa3e4fa5b
commit df99a0cf16
6 changed files with 27 additions and 17 deletions

View File

@@ -35,8 +35,10 @@ return [
'default_filter' => '',
// 默认语言
'default_lang' => 'zh-cn',
// 是否启用控制器类后缀
'use_controller_suffix' => false,
// 应用类库后缀
'class_suffix' => false,
// 控制器类后缀
'controller_suffix' => false,
// +----------------------------------------------------------------------
// | 模块设置