summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-15 13:21:09 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-15 13:21:09 +0000
commit213a97b7d01a5e9dc8ac0f560492264d97ab28de (patch)
tree2feb3abe207cdd67d8c1d18f2cef71cf4580573e /index-install.php
parent9ca97330d7857ca0a1c96342b9cf0b2e511afc72 (diff)
downloadwordpress-mu-213a97b7d01a5e9dc8ac0f560492264d97ab28de.tar.gz
wordpress-mu-213a97b7d01a5e9dc8ac0f560492264d97ab28de.tar.xz
wordpress-mu-213a97b7d01a5e9dc8ac0f560492264d97ab28de.zip
We always need a hostname
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@917 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'index-install.php')
-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' ] );
?>