404异常跳转URL配置参数 改为 异常模板地址参数 http_exception_template

This commit is contained in:
thinkphp
2016-06-07 12:24:32 +08:00
parent ae2824ced1
commit 7a579ca60e
2 changed files with 5 additions and 5 deletions

View File

@@ -223,7 +223,7 @@ class Response
public function header($name, $value = null)
{
if (is_array($name)) {
$this->header = $name;
$this->header = array_merge($this->header, $name);
} else {
$this->header[$name] = $value;
}