WordPress.org

Make WordPress Core

Changeset 8817


Ignore:
Timestamp:
09/05/08 17:53:03 (6 years ago)
Author:
westi
Message:

Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props lloydbudd and jacobsantos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-config-sample.php

    r8790 r8817  
    11<?php 
    2 // ** MySQL settings ** // 
    3 define('DB_NAME', 'putyourdbnamehere');    // The name of the database 
    4 define('DB_USER', 'usernamehere');     // Your MySQL username 
    5 define('DB_PASSWORD', 'yourpasswordhere'); // ...and password 
    6 define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value 
     2/**  
     3 * The base configurations of the WordPress. 
     4 * 
     5 * This file has the following configurations: MySQL settings, Table Prefix, 
     6 * Secret Keys, WordPress Language, and ABSPATH. You can find more information by 
     7 * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing 
     8 * wp-config.php} Codex page. You can get the MySQL settings from your web host. 
     9 * 
     10 * This file is used by the wp-config.php creation script during the 
     11 * installation. You don't have to use the web site, you can just copy this file 
     12 * to "wp-config.php" and fill in the values. 
     13 * 
     14 * @package WordPress 
     15 */ 
     16 
     17// ** MySQL settings - You can get this info from your web host ** // 
     18/** The name of the database for WordPress */ 
     19define('DB_NAME', 'putyourdbnamehere'); 
     20 
     21/** MySQL database username */ 
     22define('DB_USER', 'usernamehere'); 
     23 
     24/** MySQL database password */ 
     25define('DB_PASSWORD', 'yourpasswordhere'); 
     26 
     27/** MySQL hostname */ 
     28define('DB_HOST', 'localhost'); 
     29 
     30/** Database Charset to use in creating database tables. */ 
    731define('DB_CHARSET', 'utf8'); 
     32 
     33/** The Database Collate type. Don't change this if in doubt. */ 
    834define('DB_COLLATE', ''); 
    935 
    10 // Change each KEY to a different unique phrase.  You won't have to remember the phrases later, 
    11 // so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/ 
    12 // to get keys generated for you, or just make something up.  Each key should have a different phrase. 
    13 define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase. 
    14 define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase. 
    15 define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a unique phrase. 
     36/**#@+ 
     37 * Authentication Unique Keys. 
     38 * 
     39 * Change these to different unique phrases! 
     40 * You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service} 
     41 * 
     42 * @since 2.6.0 
     43 */ 
     44define('AUTH_KEY', 'put your unique phrase here'); 
     45define('SECURE_AUTH_KEY', 'put your unique phrase here'); 
     46define('LOGGED_IN_KEY', 'put your unique phrase here'); 
     47/**#@-*/ 
    1648 
    17 // You can have multiple installations in one database if you give each a unique prefix 
    18 $table_prefix  = 'wp_';   // Only numbers, letters, and underscores please! 
     49/** 
     50 * WordPress Database Table prefix. 
     51 * 
     52 * You can have multiple installations in one database if you give each a unique 
     53 * prefix. Only numbers, letters, and underscores please! 
     54 */ 
     55$table_prefix  = 'wp_'; 
    1956 
    20 // Change this to localize WordPress.  A corresponding MO file for the 
    21 // chosen language must be installed to wp-content/languages. 
    22 // For example, install de.mo to wp-content/languages and set WPLANG to 'de' 
    23 // to enable German language support. 
     57/** 
     58 * WordPress Localized Language, defaults to English. 
     59 * 
     60 * Change this to localize WordPress.  A corresponding MO file for the chosen 
     61 * language must be installed to wp-content/languages. For example, install 
     62 * de.mo to wp-content/languages and set WPLANG to 'de' to enable German 
     63 * language support. 
     64 */ 
    2465define ('WPLANG', ''); 
    2566 
    2667/* That's all, stop editing! Happy blogging. */ 
    2768 
     69/** WordPress absolute path to the Wordpress directory. */ 
    2870if ( !defined('ABSPATH') ) 
    2971    define('ABSPATH', dirname(__FILE__) . '/'); 
     72 
     73/** Sets up WordPress vars and included files. */ 
    3074require_once(ABSPATH . 'wp-settings.php'); 
    3175?> 
Note: See TracChangeset for help on using the changeset viewer.