equal
deleted
inserted
replaced
6 * |
6 * |
7 * @package WordPress |
7 * @package WordPress |
8 * @subpackage Multisite |
8 * @subpackage Multisite |
9 */ |
9 */ |
10 |
10 |
|
11 define( 'MS_FILES_REQUEST', true ); |
11 define( 'SHORTINIT', true ); |
12 define( 'SHORTINIT', true ); |
12 require_once dirname( __DIR__ ) . '/wp-load.php'; |
13 require_once dirname( __DIR__ ) . '/wp-load.php'; |
13 |
14 |
14 if ( ! is_multisite() ) { |
15 if ( ! is_multisite() ) { |
15 die( 'Multisite support not enabled' ); |
16 die( 'Multisite support not enabled' ); |
16 } |
17 } |
17 |
18 |
18 ms_file_constants(); |
19 ms_file_constants(); |
19 |
|
20 error_reporting( 0 ); |
|
21 |
20 |
22 if ( '1' == $current_blog->archived || '1' == $current_blog->spam || '1' == $current_blog->deleted ) { |
21 if ( '1' == $current_blog->archived || '1' == $current_blog->spam || '1' == $current_blog->deleted ) { |
23 status_header( 404 ); |
22 status_header( 404 ); |
24 die( '404 — File not found.' ); |
23 die( '404 — File not found.' ); |
25 } |
24 } |