Remove Zend

This commit is contained in:
Vasily Komrakov 2017-01-26 22:26:32 +03:00
commit 3e161065f3
No known key found for this signature in database
GPG key ID: 558236680C20A69A
2494 changed files with 7 additions and 298818 deletions

View file

@ -255,7 +255,7 @@ class ajax_common
}
}
$response_js = Zend\Json\Json::encode($this->response);
$response_js = json_encode($this->response);
if (GZIP_OUTPUT_ALLOWED && !defined('NO_GZIP')) {
if (UA_GZIP_SUPPORTED && strlen($response_js) > 2000) {