index.php 1 location
|
@@ 93-99 (lines=7) @@
|
90 |
|
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent()) |
91 |
|
{ |
92 |
|
// If zlib is being used, turn off output compression. |
93 |
|
if (ini_get('zlib.output_compression') >= 1 || ini_get('output_handler') == 'ob_gzhandler') |
94 |
|
$modSettings['enableCompressedOutput'] = '0'; |
95 |
|
else |
96 |
|
{ |
97 |
|
ob_end_clean(); |
98 |
|
ob_start('ob_gzhandler'); |
99 |
|
} |
100 |
|
} |
101 |
|
|
102 |
|
/** |
Sources/ShowAttachments.php 1 location
|
@@ 38-42 (lines=5) @@
|
35 |
|
|
36 |
|
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent() && ob_get_length() == 0) |
37 |
|
{ |
38 |
|
if (@ini_get('zlib.output_compression') == '1' || @ini_get('output_handler') == 'ob_gzhandler') |
39 |
|
$modSettings['enableCompressedOutput'] = 0; |
40 |
|
|
41 |
|
else |
42 |
|
ob_start('ob_gzhandler'); |
43 |
|
} |
44 |
|
|
45 |
|
if (empty($modSettings['enableCompressedOutput'])) |