Changeset 6470
- Timestamp:
- 12/22/07 17:45:59 (8 months ago)
- Files:
-
- branches/2.3/wp-admin/install.php (modified) (2 diffs)
- branches/2.3/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.3/wp-admin/install.php
r6444 r6470 67 67 break; 68 68 case 2: 69 if ( !empty($wpdb->error) ) 70 wp_die($wpdb->error->get_error_message()); 71 display_header(); 69 if ( !empty($wpdb->error) ) 70 wp_die($wpdb->error->get_error_message()); 71 72 display_header(); 72 73 // Fill in the data we gathered 73 74 $weblog_title = stripslashes($_POST['weblog_title']); … … 83 84 } 84 85 85 $result = wp_install($weblog_title, 'admin', $admin_email, $public); 86 extract($result, EXTR_SKIP); 86 $wpdb->show_errors(); 87 $result = wp_install($weblog_title, 'admin', $admin_email, $public); 88 extract($result, EXTR_SKIP); 87 89 ?> 88 90 branches/2.3/wp-includes/wp-db.php
r6463 r6470 57 57 function __construct($dbuser, $dbpassword, $dbname, $dbhost) { 58 58 register_shutdown_function(array(&$this, "__destruct")); 59 60 if ( defined('WP_DEBUG') and WP_DEBUG == true ) 61 $this->show_errors(); 59 62 60 63 if ( defined('DB_CHARSET') )
