Changeset 871
- Timestamp:
- 01/29/07 11:56:31 (2 years ago)
- Files:
-
- trunk/wpmu-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wpmu-settings.php
r834 r871 9 9 $domain = substr( $domain, 4 ); 10 10 if( strpos( $domain, ':' ) ) { 11 die( 'WPMU only works without the port number in the URL.' ); 11 if( substr( $domain, -3 ) == ':80' ) { 12 $domain = substr( $domain, 0, -3 ); 13 $_SERVER['HTTP_HOST'] = substr( $_SERVER['HTTP_HOST'], 0, -3 ); 14 } else { 15 die( 'WPMU only works without the port number in the URL.' ); 16 } 12 17 } 13 18 $domain = preg_replace('/:.*$/', '', $domain); // Strip ports
