1
0
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:
Andrew Dolgov
2008-05-20 07:01:19 +01:00
parent ee8768dbbb
commit 04fedbf587
3 changed files with 12 additions and 3 deletions

View File

@@ -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");