mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Resolve issue #2
This commit is contained in:
parent
9f73377a88
commit
f4319f4319
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,9 @@
|
|||
|
||||
// Name this file as "include.php" to enable it.
|
||||
|
||||
//\header('Strict-Transport-Security: max-age=31536000');
|
||||
//header('Strict-Transport-Security: max-age=31536000');
|
||||
|
||||
//define('USE_GZIP', true); // to use gzip encoded output
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
}
|
||||
|
||||
// See https://github.com/kjdev/php-ext-brotli
|
||||
if (!ini_get('zlib.output_compression', 0) && !ini_get('brotli.output_compression', 0)) {
|
||||
if (defined('USE_GZIP') && !ini_get('zlib.output_compression', 0) && !ini_get('brotli.output_compression', 0)) {
|
||||
ob_start('ob_gzhandler');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue