Skip to content

Commit

Permalink
php: remove force response 200
Browse files Browse the repository at this point in the history
  • Loading branch information
Medicean committed Nov 27, 2018
1 parent 3de92f9 commit 4a6d93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/php/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4a6d93e

Please sign in to comment.