Changeset 32800 for trunk/src/wp-includes/ms-files.php
- Timestamp:
- 06/16/2015 08:00:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-files.php
r24305 r32800 12 12 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 13 13 14 if ( !is_multisite() )14 if ( !is_multisite() ) 15 15 die( 'Multisite support not enabled' ); 16 16 … … 31 31 32 32 $mime = wp_check_filetype( $file ); 33 if ( false === $mime[ 'type' ] && function_exists( 'mime_content_type' ) )33 if ( false === $mime[ 'type' ] && function_exists( 'mime_content_type' ) ) 34 34 $mime[ 'type' ] = mime_content_type( $file ); 35 35 36 if ( $mime[ 'type' ] )36 if ( $mime[ 'type' ] ) 37 37 $mimetype = $mime[ 'type' ]; 38 38 else … … 61 61 $client_etag = isset( $_SERVER['HTTP_IF_NONE_MATCH'] ) ? stripslashes( $_SERVER['HTTP_IF_NONE_MATCH'] ) : false; 62 62 63 if ( ! isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) )63 if ( ! isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) ) 64 64 $_SERVER['HTTP_IF_MODIFIED_SINCE'] = false; 65 65
Note: See TracChangeset
for help on using the changeset viewer.