From 24f2415b802b6ad10206297f32f5bae920238220 Mon Sep 17 00:00:00 2001 From: wpmuguru Date: Thu, 13 May 2010 21:40:42 +0000 Subject: [PATCH] block ms-files.php when not multisite, see #11742 git-svn-id: http://svn.automattic.com/wordpress/trunk@14609 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-files.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/ms-files.php b/wp-includes/ms-files.php index f41639dd5..f5af8e037 100644 --- a/wp-includes/ms-files.php +++ b/wp-includes/ms-files.php @@ -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 ); -?> \ No newline at end of file +?>