Changeset 13930
- Timestamp:
- 04/02/2010 03:27:08 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/network.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r13929 r13930 44 44 */ 45 45 function allow_subdomain_install() { 46 $ path= preg_replace( '|https?://[^/]|', '', get_option( 'siteurl' ) );47 if( strlen( $path ) > 1|| 'localhost' == $_SERVER[ 'HTTP_HOST' ] )46 $domain = preg_replace( '|https?://[^/]|', '', get_option( 'siteurl' ) ); 47 if( false !== strpos( $domain, '/' ) || 'localhost' == $_SERVER[ 'HTTP_HOST' ] ) 48 48 return false; 49 49
Note: See TracChangeset
for help on using the changeset viewer.