From 5e253fc0b9526b0f0469f54329393a06a8a6b97a Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 5 Sep 2007 12:05:30 +0000 Subject: Pass the right filename to mime_content_type() git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1044 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-content/blogs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-content') 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' ] ); } -- cgit