Make WordPress Core

Changeset 12836


Ignore:
Timestamp:
01/26/2010 03:20:49 PM (16 years ago)
Author:
wpmuguru
Message:

Change VHOST check to is_subdomain_install(), See #11796

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-load.php

    r12827 r12836  
    2222// Fix empty PHP_SELF
    2323$PHP_SELF = $_SERVER['PHP_SELF'];
    24 if ( empty($PHP_SELF) || ( empty($PHP_SELF) && constant( 'VHOST' ) == 'no' && $current_blog->path != '/' ) )
     24if ( empty($PHP_SELF) || ( empty($PHP_SELF) && !is_subdomain_install() && $current_blog->path != '/' ) )
    2525    $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);
    2626
Note: See TracChangeset for help on using the changeset viewer.