Changeset 1385

Show
Ignore:
Timestamp:
07/20/08 09:42:33 (5 months ago)
Author:
donncha
Message:

Check VHOST properly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/wpmu-functions.php

    r1384 r1385  
    110110function get_id_from_blogname( $name ) { 
    111111        global $wpdb, $current_site; 
    112         if( constant( 'VHOST' ) ) { 
     112        if( constant( 'VHOST' ) == 'yes' ) { 
    113113                $domain = $name . '.' . $current_site->domain; 
    114114                $path = $current_site->path;