Skip to content

Commit

Permalink
Merge pull request lkeme#155 from jshensh/master
Browse files Browse the repository at this point in the history
[fix] Cli 模式下无需发送 header
  • Loading branch information
lkeme committed Jan 30, 2022
2 parents fda8ace + ecad108 commit 41d4c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Env
public function __construct()
{
set_time_limit(0);
header("Content-Type:text/html; charset=utf-8");
// header("Content-Type:text/html; charset=utf-8");
// ini_set('date.timezone', 'Asia/Shanghai');
date_default_timezone_set('Asia/Shanghai');
ini_set('display_errors', 'on');
Expand Down

0 comments on commit 41d4c92

Please sign in to comment.