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

git-svn-id: https://develop.svn.wordpress.org/trunk@14609 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick 2010-05-13 21:40:42 +00:00
parent 38407f0af5
commit ddcf72d638

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 );