Changeset 1044

Show
Ignore:
Timestamp:
09/05/07 12:05:30 (1 year ago)
Author:
donncha
Message:

Pass the right filename to mime_content_type()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-content/blogs.php

    r1041 r1044  
    7777 
    7878if( function_exists( "mime_content_type" ) ) { 
    79         $mime[ 'type' ] = mime_content_type( $_SERVER[ 'REQUEST_URI' ] ); 
     79        $mime[ 'type' ] = mime_content_type( $file ); 
    8080} else { 
    8181        $mime = wp_check_filetype( $_SERVER[ 'REQUEST_URI' ] );