Ticket #2828: 2828.diff
| File 2828.diff, 1.1 KB (added by , 20 years ago) |
|---|
-
wp-config-sample.php
4 4 define('DB_USER', 'username'); // Your MySQL username 5 5 define('DB_PASSWORD', 'password'); // ...and password 6 6 define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value 7 //define('INITIAL_QUERY', "SET NAMES 'utf8'"); // MySQL 4.1 or later, you may need to uncomment this 7 8 8 9 // You can have multiple installations in one database if you give each a unique prefix 9 10 $table_prefix = 'wp_'; // Only numbers, letters, and underscores please! -
wp-settings.php
71 71 define('WPINC', 'wp-includes'); 72 72 require_once (ABSPATH . WPINC . '/wp-db.php'); 73 73 74 if(defined('INITIAL_QUERY')) 75 $wpdb->query(INITIAL_QUERY); 76 74 77 // Table names 75 78 $wpdb->posts = $table_prefix . 'posts'; 76 79 $wpdb->users = $table_prefix . 'users';