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

View File

@ -11,6 +11,9 @@
define( 'SHORTINIT', true ); define( 'SHORTINIT', true );
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
if( !is_multisite() )
die( 'Multisite support not enabled' );
ms_file_constants(); ms_file_constants();
error_reporting( 0 ); error_reporting( 0 );