root/trunk/wp-config-sample.php

Revision 1806, 4.1 kB (checked in by donncha, 2 days ago)

More merging of the WP 2.8 branch

  • Property svn:eol-style set to CRLF
Line 
1 <?php
2 /**
3  * The base configurations of the WordPress.
4  *
5  **************************************************************************
6  * Do not try to create this file manually. Read the README.txt and run the
7  * web installer.
8  **************************************************************************
9  *
10  * This file has the following configurations: MySQL settings, Table Prefix,
11  * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
12  * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
13  * wp-config.php} Codex page. You can get the MySQL settings from your web host.
14  *
15  * This file is used by the wp-config.php creation script during the
16  * installation.
17  *
18  * @package WordPress
19  */
20
21 // ** MySQL settings - You can get this info from your web host ** //
22 /** The name of the database for WordPress */
23 define('DB_NAME', 'wordpress');
24
25 /** MySQL database username */
26 define('DB_USER', 'username');
27
28 /** MySQL database password */
29 define('DB_PASSWORD', 'password');
30
31 /** MySQL hostname */
32 define('DB_HOST', 'localhost');
33
34 /** Database Charset to use in creating database tables. */
35 define('DB_CHARSET', 'utf8');
36
37 /** The Database Collate type. Don't change this if in doubt. */
38 define('DB_COLLATE', '');
39 define('VHOST', 'VHOSTSETTING');
40 $base = 'BASE';
41 define('DOMAIN_CURRENT_SITE', 'current_site_domain' );
42 define('PATH_CURRENT_SITE', 'current_site_path' );
43 define('SITE_ID_CURRENT_SITE', 1);
44 define('BLOGID_CURRENT_SITE', '1' );
45
46 /**#@+
47  * Authentication Unique Keys.
48  *
49  * Change these to different unique phrases!
50  * You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/wpmu/salt WordPress.org secret-key service}
51  * 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.
52  *
53  * @since 2.6.0
54  */
55 define('AUTH_KEY', 'put your unique phrase here');
56 define('SECURE_AUTH_KEY', 'put your unique phrase here');
57 define('LOGGED_IN_KEY', 'put your unique phrase here');
58 define('NONCE_KEY', 'put your unique phrase here');
59 define('AUTH_SALT', 'put your unique phrase here');
60 define('LOGGED_IN_SALT', 'put your unique phrase here');
61 define('SECURE_AUTH_SALT', 'put your unique phrase here');
62 /**#@-*/
63
64 /**
65  * WordPress Database Table prefix.
66  *
67  * You can have multiple installations in one database if you give each a unique
68  * prefix. Only numbers, letters, and underscores please!
69  */
70 $table_prefix  = 'wp_';
71
72 /**
73  * WordPress Localized Language, defaults to English.
74  *
75  * Change this to localize WordPress.  A corresponding MO file for the chosen
76  * language must be installed to wp-content/languages. For example, install
77  * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
78  * language support.
79  */
80 define ('WPLANG', '');
81
82 // double check $base
83 if( $base == 'BASE' )
84     die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
85
86 // uncomment this to enable wp-content/sunrise.php support
87 //define( 'SUNRISE', 'on' );
88
89 // uncomment to move wp-content/blogs.dir to another relative path
90 // remember to change WP_CONTENT too.
91 // define( "UPLOADBLOGSDIR", "fileserver" );
92
93 // 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)
94 // For example, the browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' );
95 // Set this value to %siteurl% to redirect to the root of the site
96 // define( 'NOBLOGREDIRECT', '' );
97 // On a directory based install you must use the theme 404 handler.
98
99 // Location of mu-plugins
100 // define( 'WPMU_PLUGIN_DIR', '' );
101 // define( 'WPMU_PLUGIN_URL', '' );
102 // define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );
103
104 define( "WP_USE_MULTIPLE_DB", false );
105
106 /* That's all, stop editing! Happy blogging. */
107
108 /** WordPress absolute path to the Wordpress directory. */
109 if ( !defined('ABSPATH') )
110     define('ABSPATH', dirname(__FILE__) . '/');
111
112 /** Sets up WordPress vars and included files. */
113 require_once(ABSPATH . 'wp-settings.php');
114
Note: See TracBrowser for help on using the browser.