From 213a97b7d01a5e9dc8ac0f560492264d97ab28de Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 15 Mar 2007 13:21:09 +0000 Subject: We always need a hostname git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@917 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- index-install.php | 1 + 1 file changed, 1 insertion(+) (limited to 'index-install.php') diff --git a/index-install.php b/index-install.php index b34c8c4..2563afe 100644 --- a/index-install.php +++ b/index-install.php @@ -229,6 +229,7 @@ function step1() { function printstep1form( $dbname = 'wordpress', $uname = 'username', $pwd = 'password', $dbhost = 'localhost', $vhost = 'yes', $prefix = 'wp_' ) { $weblog_title = 'My new WPMU Blog'; $email = ''; + $hostname = $_SERVER[ 'HTTP_HOST' ]; if( substr( $_SERVER[ 'HTTP_HOST' ], 0, 4 ) == 'www.' ) $hostname = str_replace( "www.", "", $_SERVER[ 'HTTP_HOST' ] ); ?> -- cgit