]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-config-sample.php
WordPress 3.4.2
[autoinstalls/wordpress.git] / wp-config-sample.php
index b59fd048feba3de4b422bb607ca84848dd503f48..e47e1b5ac4dfe3c54ae099899ac3143669b1fa90 100644 (file)
@@ -1,28 +1,90 @@
 <?php\r
-// ** MySQL settings ** //\r
-define('DB_NAME', 'putyourdbnamehere');    // The name of the database\r
-define('DB_USER', 'usernamehere');     // Your MySQL username\r
-define('DB_PASSWORD', 'yourpasswordhere'); // ...and password\r
-define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value\r
+/**\r
+ * The base configurations of the WordPress.\r
+ *\r
+ * This file has the following configurations: MySQL settings, Table Prefix,\r
+ * Secret Keys, WordPress Language, and ABSPATH. You can find more information\r
+ * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing\r
+ * wp-config.php} Codex page. You can get the MySQL settings from your web host.\r
+ *\r
+ * This file is used by the wp-config.php creation script during the\r
+ * installation. You don't have to use the web site, you can just copy this file\r
+ * to "wp-config.php" and fill in the values.\r
+ *\r
+ * @package WordPress\r
+ */\r
+\r
+// ** MySQL settings - You can get this info from your web host ** //\r
+/** The name of the database for WordPress */\r
+define('DB_NAME', 'database_name_here');\r
+\r
+/** MySQL database username */\r
+define('DB_USER', 'username_here');\r
+\r
+/** MySQL database password */\r
+define('DB_PASSWORD', 'password_here');\r
+\r
+/** MySQL hostname */\r
+define('DB_HOST', 'localhost');\r
+\r
+/** Database Charset to use in creating database tables. */\r
 define('DB_CHARSET', 'utf8');\r
+\r
+/** The Database Collate type. Don't change this if in doubt. */\r
 define('DB_COLLATE', '');\r
 \r
-// Change SECRET_KEY to a unique phrase.  You won't have to remember it later,\r
-// so make it long and complicated.  You can visit http://api.wordpress.org/secret-key/1.0/\r
-// to get a secret key generated for you, or just make something up.\r
-define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase.\r
+/**#@+\r
+ * Authentication Unique Keys and Salts.\r
+ *\r
+ * Change these to different unique phrases!\r
+ * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}\r
+ * 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.\r
+ *\r
+ * @since 2.6.0\r
+ */\r
+define('AUTH_KEY',         'put your unique phrase here');\r
+define('SECURE_AUTH_KEY',  'put your unique phrase here');\r
+define('LOGGED_IN_KEY',    'put your unique phrase here');\r
+define('NONCE_KEY',        'put your unique phrase here');\r
+define('AUTH_SALT',        'put your unique phrase here');\r
+define('SECURE_AUTH_SALT', 'put your unique phrase here');\r
+define('LOGGED_IN_SALT',   'put your unique phrase here');\r
+define('NONCE_SALT',       'put your unique phrase here');\r
+\r
+/**#@-*/\r
 \r
-// You can have multiple installations in one database if you give each a unique prefix\r
-$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!\r
+/**\r
+ * WordPress Database Table prefix.\r
+ *\r
+ * You can have multiple installations in one database if you give each a unique\r
+ * prefix. Only numbers, letters, and underscores please!\r
+ */\r
+$table_prefix  = 'wp_';\r
 \r
-// Change this to localize WordPress.  A corresponding MO file for the\r
-// chosen language must be installed to wp-content/languages.\r
-// For example, install de.mo to wp-content/languages and set WPLANG to 'de'\r
-// to enable German language support.\r
-define ('WPLANG', '');\r
+/**\r
+ * WordPress Localized Language, defaults to English.\r
+ *\r
+ * Change this to localize WordPress. A corresponding MO file for the chosen\r
+ * language must be installed to wp-content/languages. For example, install\r
+ * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German\r
+ * language support.\r
+ */\r
+define('WPLANG', '');\r
+\r
+/**\r
+ * For developers: WordPress debugging mode.\r
+ *\r
+ * Change this to true to enable the display of notices during development.\r
+ * It is strongly recommended that plugin and theme developers use WP_DEBUG\r
+ * in their development environments.\r
+ */\r
+define('WP_DEBUG', false);\r
 \r
 /* That's all, stop editing! Happy blogging. */\r
 \r
-define('ABSPATH', dirname(__FILE__).'/');\r
-require_once(ABSPATH.'wp-settings.php');\r
-?>\r
+/** Absolute path to the WordPress directory. */\r
+if ( !defined('ABSPATH') )\r
+       define('ABSPATH', dirname(__FILE__) . '/');\r
+\r
+/** Sets up WordPress vars and included files. */\r
+require_once(ABSPATH . 'wp-settings.php');\r