From 490eb72e485f0c43c2d58fee4c0a5c16fdca0583 Mon Sep 17 00:00:00 2001 From: donncha Date: Sun, 20 Jul 2008 09:42:33 +0000 Subject: Check VHOST properly git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1385 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/wpmu-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php index bf72107..0001f5d 100644 --- a/wp-includes/wpmu-functions.php +++ b/wp-includes/wpmu-functions.php @@ -109,7 +109,7 @@ function is_main_blog() { function get_id_from_blogname( $name ) { global $wpdb, $current_site; - if( constant( 'VHOST' ) ) { + if( constant( 'VHOST' ) == 'yes' ) { $domain = $name . '.' . $current_site->domain; $path = $current_site->path; } else { -- cgit