summaryrefslogtreecommitdiffstats
path: root/wpmu-settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'wpmu-settings.php')
-rw-r--r--wpmu-settings.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/wpmu-settings.php b/wpmu-settings.php
index 838c96b..3b52a02 100644
--- a/wpmu-settings.php
+++ b/wpmu-settings.php
@@ -103,12 +103,7 @@ if( constant( 'VHOST' ) == 'yes' ) {
if( defined( "WP_INSTALLING" ) == false ) {
if( $current_site && $current_blog == null ) {
- if( defined( 'NOBLOGREDIRECT' ) && constant( 'NOBLOGREDIRECT' ) != '' ) {
- header( "Location: " . constant( 'NOBLOGREDIRECT' ) . "?new=" . urlencode( $blogname ) );
- } else {
- header( "Location: http://{$current_site->domain}{$current_site->path}wp-signup.php?new=" . urlencode( $blogname ) );
- }
- die();
+ $current_blog = $wpdb->get_row("SELECT * FROM {$wpdb->blogs} WHERE domain = '{$current_site->domain}' AND path = '{$current_site->path}'");
}
if( $current_blog == false || $current_site == false )
is_installed();