wp/wp-config-sample.php
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 16:11:51 +0000
changeset 4 346c88efed21
parent 0 d970ebf37754
child 5 5e2f62d02dcd
permissions -rw-r--r--
add blog-copier plugin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
 * The base configurations of the WordPress.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
 * This file has the following configurations: MySQL settings, Table Prefix,
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
 * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
 * wp-config.php} Codex page. You can get the MySQL settings from your web host.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
 * This file is used by the wp-config.php creation script during the
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
 * installation. You don't have to use the web site, you can just copy this file
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
 * to "wp-config.php" and fill in the values.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
 * @package WordPress
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
// ** MySQL settings - You can get this info from your web host ** //
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
/** The name of the database for WordPress */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
define('DB_NAME', 'database_name_here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
/** MySQL database username */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
define('DB_USER', 'username_here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
/** MySQL database password */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
define('DB_PASSWORD', 'password_here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
/** MySQL hostname */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
define('DB_HOST', 'localhost');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
/** Database Charset to use in creating database tables. */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
define('DB_CHARSET', 'utf8');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
/** The Database Collate type. Don't change this if in doubt. */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
define('DB_COLLATE', '');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
/**#@+
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
 * Authentication Unique Keys and Salts.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
 * Change these to different unique phrases!
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    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.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
 * @since 2.6.0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
define('AUTH_KEY',         'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
define('SECURE_AUTH_KEY',  'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
define('LOGGED_IN_KEY',    'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
define('NONCE_KEY',        'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
define('AUTH_SALT',        'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
define('SECURE_AUTH_SALT', 'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
define('LOGGED_IN_SALT',   'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
define('NONCE_SALT',       'put your unique phrase here');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
/**#@-*/
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
 * WordPress Database Table prefix.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
 * You can have multiple installations in one database if you give each a unique
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
 * prefix. Only numbers, letters, and underscores please!
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
$table_prefix  = 'wp_';
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
 * WordPress Localized Language, defaults to English.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
 * Change this to localize WordPress. A corresponding MO file for the chosen
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
 * language must be installed to wp-content/languages. For example, install
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
 * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    70
 * language support.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
define('WPLANG', '');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
 * For developers: WordPress debugging mode.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
 * Change this to true to enable the display of notices during development.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
 * in their development environments.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    80
 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
define('WP_DEBUG', false);
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
/* That's all, stop editing! Happy blogging. */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    84
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
/** Absolute path to the WordPress directory. */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
if ( !defined('ABSPATH') )
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
	define('ABSPATH', dirname(__FILE__) . '/');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
/** Sets up WordPress vars and included files. */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
require_once(ABSPATH . 'wp-settings.php');