block ms-files.php when not multisite, see #11742

git-svn-id: http://svn.automattic.com/wordpress/trunk@14609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru 2010-05-13 21:40:42 +00:00
parent 50b197cf94
commit 24f2415b80
1 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,9 @@
define( 'SHORTINIT', true );
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
if( !is_multisite() )
die( 'Multisite support not enabled' );
ms_file_constants();
error_reporting( 0 );
@ -77,4 +80,4 @@ if ( ( $client_last_modified && $client_etag )
// If we made it this far, just serve the file
readfile( $file );
?>
?>