| [ Root ] [ Index ] |
PHP Cross Reference of WordPress TrunkProvided by Yoast |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The base configuration of 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. 12 * 13 * @package WordPress 14 */ 15 16 // ** MySQL settings - You can get this info from your web host ** // 17 /** The name of the database for WordPress */ 18 define('DB_NAME', 'wordpress'); 19 20 /** MySQL database username */ 21 define('DB_USER', 'username'); 22 23 /** MySQL database password */ 24 define('DB_PASSWORD', 'password'); 25 26 /** MySQL hostname */ 27 define('DB_HOST', 'localhost'); 28 29 /** Database Charset to use in creating database tables. */ 30 define('DB_CHARSET', 'utf8'); 31 32 /** The Database Collate type. Don't change this if in doubt. */ 33 define('DB_COLLATE', ''); 34 35 /** Network settings - added by the network settings installer */ 36 define('MULTISITE', true); 37 define('VHOST', 'VHOSTSETTING'); 38 $base = 'BASE'; 39 define('DOMAIN_CURRENT_SITE', 'current_site_domain' ); 40 define('PATH_CURRENT_SITE', 'current_site_path' ); 41 define('SITE_ID_CURRENT_SITE', 1); 42 define('BLOGID_CURRENT_SITE', '1' ); 43 44 /**#@+ 45 * Authentication Unique Keys. 46 * 47 * Change these to different unique phrases! 48 * You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/wpmu/salt WordPress.org secret-key service} 49 * 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. 50 * 51 * @since 2.6.0 52 */ 53 define('AUTH_KEY', 'put your unique phrase here'); 54 define('SECURE_AUTH_KEY', 'put your unique phrase here'); 55 define('LOGGED_IN_KEY', 'put your unique phrase here'); 56 define('NONCE_KEY', 'put your unique phrase here'); 57 define('AUTH_SALT', 'put your unique phrase here'); 58 define('LOGGED_IN_SALT', 'put your unique phrase here'); 59 define('SECURE_AUTH_SALT', 'put your unique phrase here'); 60 /**#@-*/ 61 62 /** 63 * WordPress Database Table prefix. 64 * 65 * You can have multiple installations in one database if you give each a unique 66 * prefix. Only numbers, letters, and underscores please! 67 */ 68 $table_prefix = 'wp_'; 69 70 /** 71 * WordPress Localized Language, defaults to English. 72 * 73 * Change this to localize WordPress. A corresponding MO file for the chosen 74 * language must be installed to wp-content/languages. For example, install 75 * de.mo to wp-content/languages and set WPLANG to 'de' to enable German 76 * language support. 77 */ 78 define ('WPLANG', ''); 79 80 // uncomment this to enable WP_CONTENT_DIR/sunrise.php support 81 //define( 'SUNRISE', 'on' ); 82 83 // uncomment to move wp-content/blogs.dir to another relative path 84 // remember to change WP_CONTENT too. 85 // define( "UPLOADBLOGSDIR", "fileserver" ); 86 87 // 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) 88 // For example, the browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' ); 89 // Set this value to %siteurl% to redirect to the root of the site 90 // define( 'NOBLOGREDIRECT', '' ); 91 // On a directory based install you must use the theme 404 handler. 92 93 // Location of mu-plugins 94 // define( 'WPMU_PLUGIN_DIR', '' ); 95 // define( 'WPMU_PLUGIN_URL', '' ); 96 // define( 'MUPLUGINDIR', 'wp-content/mu-plugins' ); 97 98 define( "WP_USE_MULTIPLE_DB", false ); 99 100 /* That's all, stop editing! Happy blogging. */ 101 102 /** Absolute path to the WordPress directory. */ 103 if ( !defined('ABSPATH') ) 104 define('ABSPATH', dirname(__FILE__) . '/'); 105 106 /** Sets up WordPress vars and included files. */ 107 require_once (ABSPATH . 'wp-settings.php');
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Sat Mar 6 21:00:09 2010 | Cross-referenced by PHPXref 0.7 |