mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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.
|
// 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
|
* @return string
|
||||||
|
|
|
||||||
|
|
@ -222,7 +222,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// See https://github.com/kjdev/php-ext-brotli
|
// 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');
|
ob_start('ob_gzhandler');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue