Changeset 11589 for trunk/wp-includes/js/tinymce/wp-tinymce.php
- Timestamp:
- 06/17/2009 01:06:32 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/js/tinymce/wp-tinymce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/wp-tinymce.php
r10476 r11589 9 9 10 10 if ( ! $path || ! @is_file($path) ) 11 return '';11 return false; 12 12 13 13 return @file_get_contents($path); … … 21 21 header("Cache-Control: public, max-age=$expires_offset"); 22 22 23 if ( isset($_GET['c']) && 1 == $_GET['c'] && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') ) {23 if ( isset($_GET['c']) && 1 == $_GET['c'] && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') && ( $file = get_file($basepath . '/wp-tinymce.js.gz') ) ) { 24 24 header('Content-Encoding: gzip'); 25 echo get_file($basepath . '/wp-tinymce.js.gz');25 echo $file; 26 26 } else { 27 27 echo get_file($basepath . '/wp-tinymce.js');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)