添加default_url_root参数设置默认URL根地址

This commit is contained in:
thinkphp
2017-05-22 12:39:46 +08:00
parent 37ff5677dc
commit bb3cfae0a6
2 changed files with 5 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ return [
'url_route_must' => false,
// 域名部署
'url_domain_deploy' => false,
// 当前默认URL根地址
'default_url_root' => '',
// 域名根如thinkphp.cn
'url_domain_root' => '',
// 是否自动转换URL中的控制器和操作名