Commit 0f4a210d authored by shajiaiming's avatar shajiaiming

fix

parent 73b50d23
......@@ -15,8 +15,11 @@ class ResponseMsg
public function __construct()
{
$this->header_list = self::$default_header_list;
$this->fzmCrossHeader();
if ('cli' !== php_sapi_name()){
$this->header_list = self::$default_header_list;
$this->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