web/wp-includes/ms-settings.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
   124 	}
   124 	}
   125 }
   125 }
   126 $wpdb->set_prefix( $table_prefix, false ); // $table_prefix can be set in sunrise.php
   126 $wpdb->set_prefix( $table_prefix, false ); // $table_prefix can be set in sunrise.php
   127 $wpdb->set_blog_id( $current_blog->blog_id, $current_blog->site_id );
   127 $wpdb->set_blog_id( $current_blog->blog_id, $current_blog->site_id );
   128 $table_prefix = $wpdb->get_blog_prefix();
   128 $table_prefix = $wpdb->get_blog_prefix();
       
   129 $_wp_switched_stack = array();
       
   130 $switched = false;
   129 
   131 
   130 // need to init cache again after blog_id is set
   132 // need to init cache again after blog_id is set
   131 wp_start_object_cache();
   133 wp_start_object_cache();
   132 
   134 
   133 // Define upload directory constants
   135 // Define upload directory constants