wp-config-sample.php inline documentation. Props santosj, fixes #7526
git-svn-id: https://develop.svn.wordpress.org/trunk@8655 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d852afb9e9
commit
aa47d8a756
@ -1,31 +1,163 @@
|
|||||||
<?php
|
<?php
|
||||||
// ** MySQL settings ** //
|
/**
|
||||||
define('DB_NAME', 'putyourdbnamehere'); // The name of the database
|
* The base configurations of the WordPress.
|
||||||
define('DB_USER', 'usernamehere'); // Your MySQL username
|
*
|
||||||
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
|
* This file has the following configurations: MySQL settings, Table Prefix,
|
||||||
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
|
* Secret Key, WordPress Language, and ABSPATH. You can find more information by
|
||||||
|
* visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
|
||||||
|
* Codex page.
|
||||||
|
*
|
||||||
|
* This file is used by the wp-config.php creation script during the
|
||||||
|
* installation. You don't have to use the web site, you can just copy this file
|
||||||
|
* to "wp-config.php" and fill in the values.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of the database.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
|
define('DB_NAME', 'putyourdbnamehere');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Your MySQL username.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
|
define('DB_USER', 'usernamehere');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The MySQL user's password
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
|
define('DB_PASSWORD', 'yourpasswordhere');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The host location to the database server.
|
||||||
|
*
|
||||||
|
* You can get the hostname of the database server from your Web host.
|
||||||
|
* (99% chance you won't need to change this value)
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
|
define('DB_HOST', 'localhost');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DB Charset to use in creating database tables.
|
||||||
|
*
|
||||||
|
* (Don't change if in doubt)
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
define('DB_CHARSET', 'utf8');
|
define('DB_CHARSET', 'utf8');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The DB Collate type.
|
||||||
|
*
|
||||||
|
* (Don't change if in doubt)
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
define('DB_COLLATE', '');
|
define('DB_COLLATE', '');
|
||||||
|
|
||||||
// Change each KEY to a different unique phrase. You won't have to remember the phrases later,
|
/**
|
||||||
// so make them long and complicated. You can visit http://api.wordpress.org/secret-key/1.1/
|
* Non-SSL login cookie Key
|
||||||
// to get keys generated for you, or just make something up. Each key should have a different phrase.
|
*
|
||||||
define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
|
* Change each KEY to a different unique phrase. You won't have to remember the
|
||||||
define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
|
* phrases later, so make them long and complicated. You can visit
|
||||||
define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
|
* {@link http://api.wordpress.org/secret-key/1.1/} to get keys generated for
|
||||||
|
* you, or just make something up. Each key should have a different phrase.
|
||||||
|
*
|
||||||
|
* @link http://api.wordpress.org/secret-key/1.1/ Visit for unique phrase.
|
||||||
|
* @link http://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/ More information on secured cookies.
|
||||||
|
* @since 2.6
|
||||||
|
* @var string
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Security
|
||||||
|
*/
|
||||||
|
define('AUTH_KEY', 'put your unique phrase here');
|
||||||
|
|
||||||
// You can have multiple installations in one database if you give each a unique prefix
|
/**
|
||||||
$table_prefix = 'wp_'; // Only numbers, letters, and underscores please!
|
* SSL login cookie key
|
||||||
|
*
|
||||||
|
* Change each KEY to a different unique phrase. You won't have to remember the
|
||||||
|
* phrases later, so make them long and complicated. You can visit
|
||||||
|
* {@link http://api.wordpress.org/secret-key/1.1/} to get keys generated for
|
||||||
|
* you, or just make something up. Each key should have a different phrase.
|
||||||
|
*
|
||||||
|
* @link http://api.wordpress.org/secret-key/1.1/ Visit for unique phrase.
|
||||||
|
* @link http://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/ More information on secured cookies.
|
||||||
|
* @since 2.6
|
||||||
|
* @var string
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Security
|
||||||
|
*/
|
||||||
|
define('SECURE_AUTH_KEY', 'put your unique phrase here');
|
||||||
|
|
||||||
// Change this to localize WordPress. A corresponding MO file for the
|
/**
|
||||||
// chosen language must be installed to wp-content/languages.
|
* Both SSL and non-SSL cookie
|
||||||
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
|
*
|
||||||
// to enable German language support.
|
* Change each KEY to a different unique phrase. You won't have to remember the
|
||||||
|
* phrases later, so make them long and complicated. You can visit
|
||||||
|
* {@link http://api.wordpress.org/secret-key/1.1/} to get keys generated for
|
||||||
|
* you, or just make something up. Each key should have a different phrase.
|
||||||
|
*
|
||||||
|
* @link http://api.wordpress.org/secret-key/1.1/ Visit for unique phrase.
|
||||||
|
* @link http://boren.nu/archives/2008/07/14/ssl-and-cookies-in-wordpress-26/ More information on secured cookies.
|
||||||
|
* @since 2.6
|
||||||
|
* @var string
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Security
|
||||||
|
*/
|
||||||
|
define('LOGGED_IN_KEY', 'put your unique phrase here');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Table prefix for WordPress
|
||||||
|
*
|
||||||
|
* You can have multiple installations in one database if you give each a unique
|
||||||
|
* prefix. Only numbers, letters, and underscores required!
|
||||||
|
*
|
||||||
|
* @global string $table_prefix
|
||||||
|
* @var string
|
||||||
|
* @name $table_prefix
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
|
$table_prefix = 'wp_';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change this to localize WordPress.
|
||||||
|
*
|
||||||
|
* A corresponding MO file for the chosen language must be installed to
|
||||||
|
* wp-content/languages. For example, install de.mo to wp-content/languages and
|
||||||
|
* set WPLANG to 'de' to enable German language support.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
define ('WPLANG', '');
|
define ('WPLANG', '');
|
||||||
|
|
||||||
/* That's all, stop editing! Happy blogging. */
|
/* That's all, stop editing! Happy blogging. */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Defines the base WordPress location.
|
||||||
|
*
|
||||||
|
* Has the forward slash at the end.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since unknown
|
||||||
|
*/
|
||||||
if ( !defined('ABSPATH') )
|
if ( !defined('ABSPATH') )
|
||||||
define('ABSPATH', dirname(__FILE__) . '/');
|
define('ABSPATH', dirname(__FILE__) . '/');
|
||||||
|
|
||||||
|
/** Sets up WordPress vars and included files. */
|
||||||
require_once(ABSPATH . 'wp-settings.php');
|
require_once(ABSPATH . 'wp-settings.php');
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user