summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index-install.php1
1 files changed, 1 insertions, 0 deletions
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' ] );
?>