mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
new option: ENABLE_GZIP_OUTPUT
This commit is contained in:
@@ -63,7 +63,12 @@
|
||||
if ((!$op || $op == "rpc" || $op == "rss" || $op == "view" ||
|
||||
$op == "digestSend" || $op == "viewfeed" || $op == "publish" ||
|
||||
$op == "globalUpdateFeeds") && !$_REQUEST["noxml"]) {
|
||||
header("Content-Type: application/xml; charset=utf-8");
|
||||
header("Content-Type: application/xml; charset=utf-8");
|
||||
|
||||
if (ENABLE_GZIP_OUTPUT) {
|
||||
ob_start("ob_gzhandler");
|
||||
}
|
||||
|
||||
} else {
|
||||
if (!$_REQUEST["noxml"]) {
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
|
||||
Reference in New Issue
Block a user