Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 77 lines (64 sloc) 2.616 kB
a22990a The config file has been deliberately CRLF since [2370] to recognize …
matt authored
1 <?php
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
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 */
19 define('DB_NAME', 'putyourdbnamehere');
20
21 /** MySQL database username */
22 define('DB_USER', 'usernamehere');
23
24 /** MySQL database password */
25 define('DB_PASSWORD', 'yourpasswordhere');
26
27 /** MySQL hostname */
28 define('DB_HOST', 'localhost');
29
30 /** Database Charset to use in creating database tables. */
a22990a The config file has been deliberately CRLF since [2370] to recognize …
matt authored
31 define('DB_CHARSET', 'utf8');
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
32
33 /** The Database Collate type. Don't change this if in doubt. */
a22990a The config file has been deliberately CRLF since [2370] to recognize …
matt authored
34 define('DB_COLLATE', '');
03a9269 Don't fallback to DB info for secret key. Allow expiration grace per…
ryan authored
35
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
36 /**#@+
37 * Authentication Unique Keys.
38 *
39 * Change these to different unique phrases!
f7db972 https for secret-key
ryan authored
40 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
68d8884 Improve the Grammar. Fixes #9181 props Viper007Bond.
westi authored
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.
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
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');
0f92764 Introduce NONCE_SALT and NONCE_KEY
ryan authored
48 define('NONCE_KEY', 'put your unique phrase here');
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
49 /**#@-*/
a22990a The config file has been deliberately CRLF since [2370] to recognize …
matt authored
50
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
51 /**
52 * WordPress Database Table prefix.
53 *
54 * You can have multiple installations in one database if you give each a unique
55 * prefix. Only numbers, letters, and underscores please!
56 */
57 $table_prefix = 'wp_';
a22990a The config file has been deliberately CRLF since [2370] to recognize …
matt authored
58
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
59 /**
60 * WordPress Localized Language, defaults to English.
61 *
62 * Change this to localize WordPress. A corresponding MO file for the chosen
63 * language must be installed to wp-content/languages. For example, install
64 * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
65 * language support.
66 */
a22990a The config file has been deliberately CRLF since [2370] to recognize …
matt authored
67 define ('WPLANG', '');
68
69 /* That's all, stop editing! Happy blogging. */
70
cff2ea7 Cast out the lowercase P demons that snuck in. http://www.google.com/…
matt authored
71 /** Absolute path to the WordPress directory. */
5b81135 Allow wp-config.php to exist one level up from WordPress root directo…
ryan authored
72 if ( !defined('ABSPATH') )
73 define('ABSPATH', dirname(__FILE__) . '/');
df8ad0b Improved phpdoc for wp-config-sample.php fixes #7397 and #7526 props …
westi authored
74
75 /** Sets up WordPress vars and included files. */
5b81135 Allow wp-config.php to exist one level up from WordPress root directo…
ryan authored
76 require_once(ABSPATH . 'wp-settings.php');
Something went wrong with that request. Please try again.