Changeset 1178
- Timestamp:
- 01/02/08 17:48:17 (1 year ago)
- Files:
-
- trunk/wp-config-sample.php (modified) (1 diff)
- trunk/wpmu-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-config-sample.php
r1069 r1178 22 22 // to enable German language support. 23 23 define ('WPLANG', ''); 24 24 25 // uncomment this to enable wp-content/sunrise.php support 25 26 //define( 'SUNRISE', 'on' ); 27 28 // Uncomment and set this to a URL to redirect if a blog does not exist. (Useful if signup is disabled) 29 // Browser will redirect to constant( 'NOBLOGREDICT' ) . "?new=blogname" where blogname is the unknown blog 30 // define( 'NOBLOGREDIRECT', '' ); 26 31 27 32 define( "WP_USE_MULTIPLE_DB", false ); trunk/wpmu-settings.php
r1177 r1178 104 104 if( defined( "WP_INSTALLING" ) == false ) { 105 105 if( $current_site && $current_blog == null ) { 106 header( "Location: http://{$current_site->domain}{$current_site->path}wp-signup.php?new=" . urlencode( $blogname ) ); 106 if( defined( 'NOBLOGREDIRECT' ) && constant( 'NOBLOGREDIRECT' ) != '' ) { 107 header( "Location: " . constant( 'NOBLOGREDIRECT' ) . "?new=" . urlencode( $blogname ) ); 108 } else { 109 header( "Location: http://{$current_site->domain}{$current_site->path}wp-signup.php?new=" . urlencode( $blogname ) ); 110 } 107 111 die(); 108 112 }
