mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
parent
abcae3e129
commit
0342f9fe9d
@ -106,10 +106,7 @@ public function show() {
|
|||||||
parent::show();
|
parent::show();
|
||||||
|
|
||||||
@header('Content-type: application/json');
|
@header('Content-type: application/json');
|
||||||
// enable gzip compression
|
\wcf\util\HeaderUtil::sendNoCacheHeaders();
|
||||||
if (HTTP_ENABLE_GZIP && HTTP_GZIP_LEVEL > 0 && HTTP_GZIP_LEVEL < 10 && !defined('HTTP_DISABLE_GZIP')) {
|
|
||||||
\wcf\util\HeaderUtil::compressOutput();
|
|
||||||
}
|
|
||||||
|
|
||||||
$json = array('users' => array(), 'messages' => array());
|
$json = array('users' => array(), 'messages' => array());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user