]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-config-sample.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-config-sample.php
index f557e6d05ebe7d0af501b52465af5d60a1e392a3..7cfaf3291f2911643359d3df0f16f48a644d3ba7 100644 (file)
@@ -1,31 +1,89 @@
 <?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 configuration for WordPress\r
+ *\r
+ * The wp-config.php creation script uses this file during the\r
+ * installation. You don't have to use the web site, you can\r
+ * copy this file to "wp-config.php" and fill in the values.\r
+ *\r
+ * This file contains the following configurations:\r
+ *\r
+ * * MySQL settings\r
+ * * Secret keys\r
+ * * Database table prefix\r
+ * * ABSPATH\r
+ *\r
+ * @link https://codex.wordpress.org/Editing_wp-config.php\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 each KEY to a different unique phrase.  You won't have to remember the phrases later,\r
-// so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/\r
-// to get keys generated for you, or just make something up.  Each key should have a different phrase.\r
-define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.\r
-define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase.\r
-define('LOGGED_IN_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
-// 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
 \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 Database Table prefix.\r
+ *\r
+ * You can have multiple installations in one database if you give each\r
+ * a unique prefix. Only numbers, letters, and underscores please!\r
+ */\r
+$table_prefix  = 'wp_';\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
+ * For information on other constants that can be used for debugging,\r
+ * visit the Codex.\r
+ *\r
+ * @link https://codex.wordpress.org/Debugging_in_WordPress\r
+ */\r
+define('WP_DEBUG', false);\r
 \r
 /* That's all, stop editing! Happy blogging. */\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
-?>\r