mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
response_start位置更改为response_send
This commit is contained in:
@@ -89,12 +89,12 @@ class Response
|
||||
*/
|
||||
public function send()
|
||||
{
|
||||
// 监听response_start
|
||||
Hook::listen('response_send', $this);
|
||||
|
||||
// 处理输出数据
|
||||
$data = $this->getContent();
|
||||
|
||||
// 监听response_start
|
||||
Hook::listen('response_start', $this);
|
||||
|
||||
// Trace调试注入
|
||||
if (Env::get('app_trace', Config::get('app_trace'))) {
|
||||
Debug::inject($this, $data);
|
||||
|
||||
Reference in New Issue
Block a user