Changeset 13837
- Timestamp:
- 03/27/2010 05:42:08 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/setup-config.php
r13628 r13837 210 210 switch (substr($line,0,16)) { 211 211 case "define('DB_NAME'": 212 $configFile[$line_num] = str_replace(" putyourdbnamehere", $dbname, $line);212 $configFile[$line_num] = str_replace("database_name_here", $dbname, $line); 213 213 break; 214 214 case "define('DB_USER'": 215 $configFile[$line_num] = str_replace("'username here'", "'$uname'", $line);215 $configFile[$line_num] = str_replace("'username_here'", "'$uname'", $line); 216 216 break; 217 217 case "define('DB_PASSW": 218 $configFile[$line_num] = str_replace("' yourpasswordhere'", "'$passwrd'", $line);218 $configFile[$line_num] = str_replace("'password_here'", "'$passwrd'", $line); 219 219 break; 220 220 case "define('DB_HOST'": -
trunk/wp-config-sample.php
r13185 r13837 17 17 // ** MySQL settings - You can get this info from your web host ** // 18 18 /** The name of the database for WordPress */ 19 define('DB_NAME', ' putyourdbnamehere');19 define('DB_NAME', 'database_name_here'); 20 20 21 21 /** MySQL database username */ 22 define('DB_USER', 'username here');22 define('DB_USER', 'username_here'); 23 23 24 24 /** MySQL database password */ 25 define('DB_PASSWORD', ' yourpasswordhere');25 define('DB_PASSWORD', 'password_here'); 26 26 27 27 /** MySQL hostname */
Note: See TracChangeset
for help on using the changeset viewer.