X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8a06f4f9392d1ac373442f82ee40428a3cb81395..88550bc3400cc7c035ff590ecb007c7938041ded:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index 32ef35dc..93c9d72f 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -1,109 +1,305 @@ + + +
+ +WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.
+ + + - + > + -'.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'
');} +/** + * Display installer setup form. + * + * @since 2.8.0 + */ +function display_setup_form( $error = null ) { + global $wpdb; -switch($step) { - case 0: - case 1: // in case people are directly linking to this - display_header(); -?> - -ReadMe documentation at your leisure. Otherwise, just fill in the information below and you\'ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?>
- + $sql = $wpdb->prepare( "SHOW TABLES LIKE %s", $wpdb->esc_like( $wpdb->users ) ); + $user_table = ( $wpdb->get_var( $sql ) != null ); - - + // Ensure that Blogs appear in search engines by default. + $blog_public = 1; + if ( isset( $_POST['weblog_title'] ) ) { + $blog_public = isset( $_POST['blog_public'] ); + } - +' . __( 'Already Installed' ) . '' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '