取消APP_HOOK常量 默认开启插件机制

This commit is contained in:
thinkphp
2016-05-24 22:08:34 +08:00
parent b848abdf3b
commit 188e64abf6
9 changed files with 17 additions and 19 deletions

View File

@@ -101,7 +101,7 @@ class Response
$data = $this->output($data);
// 监听response_data
APP_HOOK && Hook::listen('response_data', $data);
Hook::listen('response_data', $data);
// 发送头部信息
if (!headers_sent() && !empty($this->header)) {