配置参数调整

This commit is contained in:
thinkphp
2016-05-30 21:49:38 +08:00
parent 69fa69dc3b
commit d5e73c3463
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ return [
// 是否自动转换URL中的操作名
'url_action_convert' => true,
// 表单请求类型伪装变量
'method_var' => '_method',
'var_method' => '_method',
// +----------------------------------------------------------------------
// | 模板引擎设置

View File

@@ -417,7 +417,7 @@ class Request
$this->method = $method;
return;
} elseif (!$this->method) {
$mask = $this->param(Config::get('method_var'));
$mask = $this->param(Config::get('var_method'));
if ($mask) {
$this->method = $mask;
} else {