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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-05-13 19:31:36 +00:00
parent 18335b5516
commit 0a26ef9d38
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 ) );