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:
parent
18335b5516
commit
0a26ef9d38
|
@ -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 ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue