Changeset 908
- Timestamp:
- 03/08/07 17:37:46 (2 years ago)
- Files:
-
- trunk/index-install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/index-install.php
r907 r908 11 11 12 12 function printheader() { 13 print ' 13 if( substr( $_SERVER[ 'SERVER_NAME' ], 0, 4 ) == 'www.' ) { 14 $url = 'http://' . str_replace( 'www.', '', $_SERVER[ 'SERVER_NAME' ] ) . $_SERVER[ 'REQUEST_URI' ]; 15 print "<html><head><title>WordPress MU Installer</title><body>"; 16 print "<p style='margin-left: 20%; margin-right: 20%; margin-top: 5%; text-align: center'><strong>Warning!</strong> WordPress MU must be installed without the 'www.' in the URL.<br />Please click here to continue the install: <a href='$url'>$url</a></p></body></html>"; 17 die(); 18 } 19 print ' 14 20 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 15 21 <html xmlns="http://www.w3.org/1999/xhtml"> … … 365 371 $domain = $wpdb->escape( $_POST[ 'basedomain' ] ); 366 372 if( substr( $domain, 0, 4 ) == 'www.' ) 367 $domain = substr( $domain, 4 );373 $domain = substr( $domain, 4 ); 368 374 369 375 $email = $wpdb->escape( $_POST[ 'email' ] );
