Ticket #13103: 13103.patch
File 13103.patch, 816 bytes (added by , 12 years ago) |
---|
-
wp-admin/install.php
167 167 die( '<h1>' . __( 'Configuration Error' ) . '</h1><p>' . __( 'Your <code>wp-config.php</code> file has an empty database table prefix, which is not supported.' ) . '</p></body></html>' ); 168 168 } 169 169 170 if ( ! $wpdb->get_row( $wpdb->prepare( 'SHOW CHARACTER SET WHERE Charset = %s', DB_CHARSET ) ) ) { 171 display_header(); 172 die( '<h1>' . __( 'Configuration Error' ) . '</h1><p>' . sprintf( __( "Your <code>wp-config.php</code> file has '%s' database charset, which is not available in your database." ), DB_CHARSET ) . '</p></body></html>' ); 173 } 174 170 175 switch($step) { 171 176 case 0: // Step 1 172 177 case 1: // Step 1, direct link.