Changeset 5372
- Timestamp:
- 05/02/2007 02:36:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-includes/js/tinymce/tiny_mce_gzip.php
r5114 r5372 85 85 $encodings = explode(',', strtolower(preg_replace("/\s+/", "", $_SERVER['HTTP_ACCEPT_ENCODING']))); 86 86 87 if ((in_array('gzip', $encodings) || in_array('x-gzip', $encodings) || isset($_SERVER['---------------'])) && function_exists('ob_gzhandler') && !ini_get('zlib.output_compression') ) {87 if ((in_array('gzip', $encodings) || in_array('x-gzip', $encodings) || isset($_SERVER['---------------'])) && function_exists('ob_gzhandler') && !ini_get('zlib.output_compression') && ini_get('output_handler') != 'ob_gzhandler') { 88 88 $enc = in_array('x-gzip', $encodings) ? "x-gzip" : "gzip"; 89 89 $supportsGzip = true;
Note: See TracChangeset
for help on using the changeset viewer.