Ticket #2299: iis.patch
File iis.patch, 747 bytes (added by , 15 years ago) |
---|
-
bp-core/bp-core-catchuri.php
61 61 foreach ( (array)$bp_uri as $key => $uri_chunk ) 62 62 if ( empty( $bp_uri[$key] ) ) unset( $bp_uri[$key] ); 63 63 64 /* Loop and remove index.php (e.g. for Windows IIS) */ 65 foreach ( (array)$bp_uri as $key => $uri_chunk ) 66 if ( $bp_uri[$key] == 'index.php' ) unset( $bp_uri[$key] ); 67 64 68 if ( defined( 'BP_ENABLE_MULTIBLOG' ) || 1 != BP_ROOT_BLOG ) { 65 69 /* If we are running BuddyPress on any blog, not just a root blog, we need to first 66 70 shift off the blog name if we are running a subdirectory install of WPMU. */