mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 15:46:04 +01:00
fca602d414
git-svn-id: http://svn.automattic.com/wordpress/trunk@12756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
117 lines
4.2 KiB
Plaintext
117 lines
4.2 KiB
Plaintext
<?php
|
|
/**
|
|
* The base configuration of WordPress.
|
|
*
|
|
* This file has the following configurations: MySQL settings, Table Prefix,
|
|
* Secret Keys, 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. You can get the MySQL settings from your web host.
|
|
*
|
|
* This file is used by the wp-config.php creation script during the
|
|
* installation.
|
|
*
|
|
* @package WordPress
|
|
*/
|
|
|
|
// ** MySQL settings - You can get this info from your web host ** //
|
|
/** The name of the database for WordPress */
|
|
define('DB_NAME', 'wordpress');
|
|
|
|
/** MySQL database username */
|
|
define('DB_USER', 'username');
|
|
|
|
/** MySQL database password */
|
|
define('DB_PASSWORD', 'password');
|
|
|
|
/** MySQL hostname */
|
|
define('DB_HOST', 'localhost');
|
|
|
|
/** Database Charset to use in creating database tables. */
|
|
define('DB_CHARSET', 'utf8');
|
|
|
|
/** The Database Collate type. Don't change this if in doubt. */
|
|
define('DB_COLLATE', '');
|
|
|
|
/** Network settings - added by the network settings installer */
|
|
define('MULTISITE', true);
|
|
define('VHOST', 'VHOSTSETTING');
|
|
$base = 'BASE';
|
|
define('DOMAIN_CURRENT_SITE', 'current_site_domain' );
|
|
define('PATH_CURRENT_SITE', 'current_site_path' );
|
|
define('SITE_ID_CURRENT_SITE', 1);
|
|
define('BLOGID_CURRENT_SITE', '1' );
|
|
|
|
/* Uncomment to allow blog admins to edit their users. See http://trac.mu.wordpress.org/ticket/1169 */
|
|
//define( "EDIT_ANY_USER", true );
|
|
/* Uncomment to enable post by email options. See http://trac.mu.wordpress.org/ticket/1084 */
|
|
//define( "POST_BY_EMAIL", true );
|
|
|
|
/**#@+
|
|
* Authentication Unique Keys.
|
|
*
|
|
* Change these to different unique phrases!
|
|
* You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/wpmu/salt WordPress.org secret-key service}
|
|
* 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.
|
|
*
|
|
* @since 2.6.0
|
|
*/
|
|
define('AUTH_KEY', 'put your unique phrase here');
|
|
define('SECURE_AUTH_KEY', 'put your unique phrase here');
|
|
define('LOGGED_IN_KEY', 'put your unique phrase here');
|
|
define('NONCE_KEY', 'put your unique phrase here');
|
|
define('AUTH_SALT', 'put your unique phrase here');
|
|
define('LOGGED_IN_SALT', 'put your unique phrase here');
|
|
define('SECURE_AUTH_SALT', 'put your unique phrase here');
|
|
/**#@-*/
|
|
|
|
/**
|
|
* WordPress Database Table prefix.
|
|
*
|
|
* You can have multiple installations in one database if you give each a unique
|
|
* prefix. Only numbers, letters, and underscores please!
|
|
*/
|
|
$table_prefix = 'wp_';
|
|
|
|
/**
|
|
* WordPress Localized Language, defaults to English.
|
|
*
|
|
* 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.
|
|
*/
|
|
define ('WPLANG', '');
|
|
|
|
// double check $base
|
|
if( $base == 'BASE' )
|
|
die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
|
|
|
|
// uncomment this to enable WP_CONTENT_DIR/sunrise.php support
|
|
//define( 'SUNRISE', 'on' );
|
|
|
|
// uncomment to move wp-content/blogs.dir to another relative path
|
|
// remember to change WP_CONTENT too.
|
|
// define( "UPLOADBLOGSDIR", "fileserver" );
|
|
|
|
// If VHOST is 'yes' uncomment and set this to a URL to redirect if a blog does not exist or is a 404 on the main blog. (Useful if signup is disabled)
|
|
// For example, the browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' );
|
|
// Set this value to %siteurl% to redirect to the root of the site
|
|
// define( 'NOBLOGREDIRECT', '' );
|
|
// On a directory based install you must use the theme 404 handler.
|
|
|
|
// Location of mu-plugins
|
|
// define( 'WPMU_PLUGIN_DIR', '' );
|
|
// define( 'WPMU_PLUGIN_URL', '' );
|
|
// define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );
|
|
|
|
define( "WP_USE_MULTIPLE_DB", false );
|
|
|
|
/* That's all, stop editing! Happy blogging. */
|
|
|
|
/** Absolute path to the WordPress directory. */
|
|
if ( !defined('ABSPATH') )
|
|
define('ABSPATH', dirname(__FILE__) . '/');
|
|
|
|
/** Sets up WordPress vars and included files. */
|
|
require_once(ABSPATH . 'wp-settings.php');
|