2010-07-30 22:34:54 +02:00
|
|
|
<?php
|
2010-10-21 13:21:13 +02:00
|
|
|
/**
|
|
|
|
* WordPress Network Administration Bootstrap
|
|
|
|
*
|
|
|
|
* @package WordPress
|
2010-11-10 15:27:15 +01:00
|
|
|
* @subpackage Multisite
|
2010-10-21 13:21:13 +02:00
|
|
|
* @since 3.1.0
|
|
|
|
*/
|
2010-07-30 22:34:54 +02:00
|
|
|
|
2010-11-10 15:27:15 +01:00
|
|
|
define( 'WP_NETWORK_ADMIN', TRUE );
|
2010-07-30 22:34:54 +02:00
|
|
|
|
2010-11-10 15:27:15 +01:00
|
|
|
/** Load WordPress Administration Bootstrap */
|
|
|
|
require_once( dirname( dirname( __FILE__ ) ) . '/admin.php' );
|
2010-07-30 22:34:54 +02:00
|
|
|
|
|
|
|
if ( ! is_multisite() )
|
|
|
|
wp_die( __( 'Multisite support is not enabled.' ) );
|
|
|
|
|
2011-03-08 23:56:12 +01:00
|
|
|
if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
|
2010-07-30 22:34:54 +02:00
|
|
|
wp_redirect( network_admin_url() );
|
2010-12-09 19:02:54 +01:00
|
|
|
exit;
|
|
|
|
}
|
2010-08-25 02:51:44 +02:00
|
|
|
?>
|