Commit f8ffe918 authored by tufengqi's avatar tufengqi

Merge branch 'TRADE-342' into 'master'

Resolve TRADE-342 Closes TRADE-342 See merge request !5
parents 73b50d23 cf67608e
...@@ -15,8 +15,10 @@ class ResponseMsg ...@@ -15,8 +15,10 @@ class ResponseMsg
public function __construct() public function __construct()
{ {
$this->header_list = self::$default_header_list; if ('cli' !== php_sapi_name()){
$this->fzmCrossHeader(); $this->header_list = self::$default_header_list;
$this->fzmCrossHeader();
}
} }
public function fzmCrossHeader() public function fzmCrossHeader()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment