summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-09-10 11:31:29 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-09-10 11:31:29 +0000
commit52f6e5b033453848d3c21ca3c2fa6b65a585f8ae (patch)
treefa11efa14411513b68571ecb51185e0506134a1f
parentd8fb87d7ddc277af5818897be8c9c961b9587715 (diff)
downloadwordpress-mu-52f6e5b033453848d3c21ca3c2fa6b65a585f8ae.tar.gz
wordpress-mu-52f6e5b033453848d3c21ca3c2fa6b65a585f8ae.tar.xz
wordpress-mu-52f6e5b033453848d3c21ca3c2fa6b65a585f8ae.zip
Redirect to the main signup page, even on vhost=no, fixes #406
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1046 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--wp-signup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-signup.php b/wp-signup.php
index 1056b9a..9798703 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -11,7 +11,7 @@ if( is_array( get_site_option( 'illegal_names' )) && $_GET[ 'new' ] != '' && in_
do_action("signup_header");
-if( $current_blog->domain != $current_site->domain ) {
+if( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) {
header( "Location: http://" . $current_site->domain . $current_site->path . "wp-signup.php" );
die();
}