wp/wp-config-sample.php
changeset 0 d970ebf37754
child 5 5e2f62d02dcd
equal deleted inserted replaced
-1:000000000000 0:d970ebf37754
       
     1 <?php
       
     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
       
     7  * by 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 */
       
    19 define('DB_NAME', 'database_name_here');
       
    20 
       
    21 /** MySQL database username */
       
    22 define('DB_USER', 'username_here');
       
    23 
       
    24 /** MySQL database password */
       
    25 define('DB_PASSWORD', 'password_here');
       
    26 
       
    27 /** MySQL hostname */
       
    28 define('DB_HOST', 'localhost');
       
    29 
       
    30 /** Database Charset to use in creating database tables. */
       
    31 define('DB_CHARSET', 'utf8');
       
    32 
       
    33 /** The Database Collate type. Don't change this if in doubt. */
       
    34 define('DB_COLLATE', '');
       
    35 
       
    36 /**#@+
       
    37  * Authentication Unique Keys and Salts.
       
    38  *
       
    39  * Change these to different unique phrases!
       
    40  * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
       
    41  * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
       
    42  *
       
    43  * @since 2.6.0
       
    44  */
       
    45 define('AUTH_KEY',         'put your unique phrase here');
       
    46 define('SECURE_AUTH_KEY',  'put your unique phrase here');
       
    47 define('LOGGED_IN_KEY',    'put your unique phrase here');
       
    48 define('NONCE_KEY',        'put your unique phrase here');
       
    49 define('AUTH_SALT',        'put your unique phrase here');
       
    50 define('SECURE_AUTH_SALT', 'put your unique phrase here');
       
    51 define('LOGGED_IN_SALT',   'put your unique phrase here');
       
    52 define('NONCE_SALT',       'put your unique phrase here');
       
    53 
       
    54 /**#@-*/
       
    55 
       
    56 /**
       
    57  * WordPress Database Table prefix.
       
    58  *
       
    59  * You can have multiple installations in one database if you give each a unique
       
    60  * prefix. Only numbers, letters, and underscores please!
       
    61  */
       
    62 $table_prefix  = 'wp_';
       
    63 
       
    64 /**
       
    65  * WordPress Localized Language, defaults to English.
       
    66  *
       
    67  * Change this to localize WordPress. A corresponding MO file for the chosen
       
    68  * language must be installed to wp-content/languages. For example, install
       
    69  * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
       
    70  * language support.
       
    71  */
       
    72 define('WPLANG', '');
       
    73 
       
    74 /**
       
    75  * For developers: WordPress debugging mode.
       
    76  *
       
    77  * Change this to true to enable the display of notices during development.
       
    78  * It is strongly recommended that plugin and theme developers use WP_DEBUG
       
    79  * in their development environments.
       
    80  */
       
    81 define('WP_DEBUG', false);
       
    82 
       
    83 /* That's all, stop editing! Happy blogging. */
       
    84 
       
    85 /** Absolute path to the WordPress directory. */
       
    86 if ( !defined('ABSPATH') )
       
    87 	define('ABSPATH', dirname(__FILE__) . '/');
       
    88 
       
    89 /** Sets up WordPress vars and included files. */
       
    90 require_once(ABSPATH . 'wp-settings.php');