diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-07-20 09:42:33 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-07-20 09:42:33 +0000 |
commit | 490eb72e485f0c43c2d58fee4c0a5c16fdca0583 (patch) | |
tree | a98aa0827dd03f4fbff3072a49f05863fe9d0003 /wp-includes/wpmu-functions.php | |
parent | 71ce998303ad6cf7a0cce565a449de8d5ac9a676 (diff) | |
download | wordpress-mu-490eb72e485f0c43c2d58fee4c0a5c16fdca0583.tar.gz wordpress-mu-490eb72e485f0c43c2d58fee4c0a5c16fdca0583.tar.xz wordpress-mu-490eb72e485f0c43c2d58fee4c0a5c16fdca0583.zip |
Check VHOST properly
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1385 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/wpmu-functions.php')
-rw-r--r-- | wp-includes/wpmu-functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |