From 55030a165b03d6f2de9a7da0cd861a2f79ef3b86 Mon Sep 17 00:00:00 2001
From: Ryan Boren
" . __( "If the mod_rewrite module is disabled ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up." ) . '
Warning! It looks like mod_rewrite is not installed.
" . $mod_rewrite_msg; - } else { + if ( ! in_array( 'mod_rewrite', $modules ) ) + echo '' . __('Warning! It looks like mod_rewrite is not installed.') . '
' . $mod_rewrite_msg; + else $rewrite_enabled = true; - } } else { - ?>Please make sure mod_rewrite is installed as it will be activated at the end of this install.
mod_rewrite is installed as it will be activated at the end of this install.' ) . '' . $mod_rewrite_msg;
}
return $rewrite_enabled;
}
function printstep1form( $rewrite_enabled = false ) {
- $weblog_title = ucfirst( get_option( 'blogname' ) ) . ' Sites';
+ $weblog_title = sprintf( __('%s Sites'), ucfirst( get_option( 'blogname' ) ) );
$email = get_option( 'admin_email' );
$hostname = get_clean_basedomain();
if( substr( $hostname, 0, 4 ) == 'www.' )
@@ -136,58 +136,58 @@ function printstep1form( $rewrite_enabled = false ) {
wp_nonce_field( 'install-network-1' );
?>
- Please choose whether you would like sites in your WordPress install to use sub-domains or sub-directories. You can not change this later.
+ + -Note It looks like mod_rewrite is not installed.
Note It looks like mod_rewrite is not installed.'); ?>
-
-
+
+
before enabling the network feature. It will still be possible to visit your site using the "www" prefix with an address like but any links will not have the "www" prefix. %2$s but any links will not have the "www" prefix.' ), $nowww, $hostname ); ?>| Server Address | +
- This will be the Internet address of your site: . - -Do not use an IP address (like 127.0.0.1) or a single word hostname like %s.' ), $hostname ); ?> + +localhost as your server address.' ); ?> |
|---|
| Site Title | +
-
- What would you like to call your site? + + |
|
|---|---|---|
|
-
- Your email address. + + |
' />
-Complete the following steps to enable the features for creating a network of sites. Note: We recommend you make a backup copy of your existing wp-config.php and .htaccess files.
Note: We recommend you make a backup copy of your existing wp-config.php and .htaccess files.' ); ?>
blogs.dir directory in your wp-content directory. This directory is used to stored uploaded media for your additional sites and must be writeable by the web server.wp-content directory. This directory is used to stored uploaded media for your additional sites and must be writeable by the web server.' ); ?>%s to work from. Please re-upload this file to your WordPress installation.' ), $config_sample ) );
$wp_config_file = file( $config_sample );
?>
- Replace the contents of your wp-config.php with the following:
wp-config.php with the following:' ); ?>