s/Content-type/Content-Type/. Props dvwallin. fixes #17256

git-svn-id: https://develop.svn.wordpress.org/trunk@17922 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-05-13 19:31:36 +00:00
parent 9781af86f5
commit 343de36521
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ if( $mime[ 'type' ] )
else
$mimetype = 'image/' . substr( $file, strrpos( $file, '.' ) + 1 );
header( 'Content-type: ' . $mimetype ); // always send this
header( 'Content-Type: ' . $mimetype ); // always send this
if ( false === strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS' ) )
header( 'Content-Length: ' . filesize( $file ) );