diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-09-05 12:05:30 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-09-05 12:05:30 +0000 |
commit | 5e253fc0b9526b0f0469f54329393a06a8a6b97a (patch) | |
tree | cf013ab33b81d5d464c094b8e07ca542ad66d854 /wp-content | |
parent | cea85f561f5679738717e368928aa1e145c97009 (diff) | |
download | wordpress-mu-5e253fc0b9526b0f0469f54329393a06a8a6b97a.tar.gz wordpress-mu-5e253fc0b9526b0f0469f54329393a06a8a6b97a.tar.xz wordpress-mu-5e253fc0b9526b0f0469f54329393a06a8a6b97a.zip |
Pass the right filename to mime_content_type()
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1044 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content')
-rw-r--r-- | wp-content/blogs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-content/blogs.php b/wp-content/blogs.php index 115b608..bdf5aca 100644 --- a/wp-content/blogs.php +++ b/wp-content/blogs.php @@ -76,7 +76,7 @@ if ( !is_file( $file ) ) { }
if( function_exists( "mime_content_type" ) ) {
- $mime[ 'type' ] = mime_content_type( $_SERVER[ 'REQUEST_URI' ] );
+ $mime[ 'type' ] = mime_content_type( $file );
} else {
$mime = wp_check_filetype( $_SERVER[ 'REQUEST_URI' ] );
}
|