Changeset 917

Show
Ignore:
Timestamp:
03/15/07 13:21:09 (2 years ago)
Author:
donncha
Message:

We always need a hostname

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/index-install.php

    r912 r917  
    230230        $weblog_title = 'My new WPMU Blog'; 
    231231        $email = ''; 
     232        $hostname = $_SERVER[ 'HTTP_HOST' ]; 
    232233        if( substr( $_SERVER[ 'HTTP_HOST' ], 0, 4 ) == 'www.' ) 
    233234                $hostname = str_replace( "www.", "", $_SERVER[ 'HTTP_HOST' ] );