mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:25:55 +00:00
only enable ob_gzhandler if it exists
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
|
||||
chdir("..");
|
||||
|
||||
if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT) {
|
||||
if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT &&
|
||||
function_exists("ob_gzhandler")) {
|
||||
|
||||
ob_start("ob_gzhandler");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user