mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-19 01:20:08 +08:00
[fix] Cli 模式下无需发送 header
This commit is contained in:
parent
01a94ba729
commit
8b74828b94
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user