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'])) |
index.php 1 location
|
@@ 91-97 (lines=7) @@
|
88 |
|
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent()) |
89 |
|
{ |
90 |
|
// If zlib is being used, turn off output compression. |
91 |
|
if (ini_get('zlib.output_compression') >= 1 || ini_get('output_handler') == 'ob_gzhandler') |
92 |
|
$modSettings['enableCompressedOutput'] = '0'; |
93 |
|
else |
94 |
|
{ |
95 |
|
ob_end_clean(); |
96 |
|
ob_start('ob_gzhandler'); |
97 |
|
} |
98 |
|
} |
99 |
|
|
100 |
|
/** |