Changeset 17922
- Timestamp:
- 05/13/2011 07:31:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-files.php
r17836 r17922 39 39 $mimetype = 'image/' . substr( $file, strrpos( $file, '.' ) + 1 ); 40 40 41 header( 'Content- type: ' . $mimetype ); // always send this41 header( 'Content-Type: ' . $mimetype ); // always send this 42 42 if ( false === strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS' ) ) 43 43 header( 'Content-Length: ' . filesize( $file ) );
Note: See TracChangeset
for help on using the changeset viewer.