root/trunk/wp-config-sample.php
| Revision 1422, 2.9 kB (checked in by donncha, 2 weeks ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | /* Don't try to create this file by hand. Read the README.txt and run the installer. */ |
| 3 | // ** MySQL settings ** // |
| 4 | define('DB_NAME', 'wordpress'); // The name of the database |
| 5 | define('DB_USER', 'username'); // Your MySQL username |
| 6 | define('DB_PASSWORD', 'password'); // ...and password |
| 7 | define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value |
| 8 | define('DB_CHARSET', 'utf8'); |
| 9 | define('DB_COLLATE', ''); |
| 10 | define('VHOST', 'VHOSTSETTING'); |
| 11 | $base = 'BASE'; |
| 12 | define('DOMAIN_CURRENT_SITE', 'current_site_domain' ); |
| 13 | define('PATH_CURRENT_SITE', 'current_site_path' ); |
| 14 | |
| 15 | // Change each KEY to a different unique phrase. You won't have to remember the phrases later, |
| 16 | // so make them long and complicated. You can visit http://api.wordpress.org/secret-key/1.1/ |
| 17 | // to get keys generated for you, or just make something up. Each key should have a different phrase. |
| 18 | define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase. |
| 19 | define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase. |
| 20 | define('SECURE_AUTH_SALT', 'put your unique phrase here'); // Change this to a unique phrase. |
| 21 | define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a unique phrase. |
| 22 | define('SECRET_KEY', 'put your unique phrase here'); // Change these to unique phrases. |
| 23 | define('SECRET_SALT', 'put your unique phrase here'); |
| 24 | define('LOGGED_IN_SALT', 'put your unique phrase here'); |
| 25 | |
| 26 | // double check $base |
| 27 | if( $base == 'BASE' ) |
| 28 | die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' ); |
| 29 | // You can have multiple installations in one database if you give each a unique prefix |
| 30 | $table_prefix = 'wp_'; // Only numbers, letters, and underscores please! |
| 31 | |
| 32 | // Change this to localize WordPress. A corresponding MO file for the |
| 33 | // chosen language must be installed to wp-content/languages. |
| 34 | // For example, install de.mo to wp-content/languages and set WPLANG to 'de' |
| 35 | // to enable German language support. |
| 36 | define ('WPLANG', ''); |
| 37 | |
| 38 | // uncomment this to enable wp-content/sunrise.php support |
| 39 | //define( 'SUNRISE', 'on' ); |
| 40 | |
| 41 | // uncomment to move wp-content/blogs.dir to another relative path |
| 42 | // remember to change WP_CONTENT too. |
| 43 | // define( "UPLOADBLOGSDIR", "fileserver" ); |
| 44 | |
| 45 | // 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) |
| 46 | // For example, browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' ); |
| 47 | // define( 'NOBLOGREDIRECT', '' ); |
| 48 | |
| 49 | // Location of mu-plugins |
| 50 | // define( 'WPMU_PLUGIN_DIR', '' ); |
| 51 | // define( 'WPMU_PLUGIN_URL', '' ); |
| 52 | // define( 'MUPLUGINDIR', 'wp-content/mu-plugins' ); |
| 53 | |
| 54 | define( "WP_USE_MULTIPLE_DB", false ); |
| 55 | |
| 56 | /* That's all, stop editing! Happy blogging. */ |
| 57 | |
| 58 | if ( !defined('ABSPATH') ) |
| 59 | define('ABSPATH', dirname(__FILE__) . '/'); |
| 60 | require_once(ABSPATH . 'wp-settings.php'); |
| 61 | ?> |
| 62 |
Note: See TracBrowser for help on using the browser.
