From 4a6d93ee4214557e7454303ef4783bbb15039fcc Mon Sep 17 00:00:00 2001 From: Medicean Date: Tue, 27 Nov 2018 15:04:08 +0800 Subject: [PATCH] php: remove force response 200 --- source/core/php/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/php/index.js b/source/core/php/index.js index ed05fb17..48131892 100644 --- a/source/core/php/index.js +++ b/source/core/php/index.js @@ -50,7 +50,7 @@ class PHP extends Base { // 组合完整的代码 let tmpCode = data['_']; - data['_'] = `@ini_set("display_errors", "0");@set_time_limit(0);header('HTTP/1.1 200 OK');echo "${tag_s}";${tmpCode};echo "${tag_e}";die();`; + data['_'] = `@ini_set("display_errors", "0");@set_time_limit(0);echo "${tag_s}";${tmpCode};echo "${tag_e}";die();`; // 使用编码器进行处理并返回 return this.encodeComplete(tag_s, tag_e, data);