Changeset 10476 for trunk/wp-includes/js/tinymce/wp-tinymce.php
- Timestamp:
- 02/01/2009 09:45:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/wp-tinymce.php
r10372 r10476 2 2 3 3 $basepath = dirname(__FILE__); 4 5 while ( @ob_end_clean() );6 4 7 5 function get_file($path) { … … 23 21 header("Cache-Control: public, max-age=$expires_offset"); 24 22 25 if ( isset($_GET['c']) && 1 == $_GET['c'] && ! ini_get('zlib.output_compression') &&false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') ) {23 if ( isset($_GET['c']) && 1 == $_GET['c'] && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') ) { 26 24 header('Content-Encoding: gzip'); 27 25 echo get_file($basepath . '/wp-tinymce.js.gz');
Note: See TracChangeset
for help on using the changeset viewer.