]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-config-sample.php
WordPress 4.6.1
[autoinstalls/wordpress.git] / wp-config-sample.php
index 5cc89738edc29c00a10c7980cfd9393ee60e2717..7cfaf3291f2911643359d3df0f16f48a644d3ba7 100644 (file)
@@ -1,21 +1,89 @@
 <?php\r
-// ** MySQL settings ** //\r
-define('DB_NAME', 'wordpress');    // The name of the database\r
-define('DB_USER', 'username');     // Your MySQL username\r
-define('DB_PASSWORD', 'password'); // ...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
-// 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
+// ** 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
-// Change this to localize WordPress.  A corresponding MO file for the\r
-// chosen language must be installed to wp-includes/languages.\r
-// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'\r
-// to enable German language support.\r
-define ('WPLANG', '');\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
+/**#@+\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
+/**\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
-define('ABSPATH', dirname(__FILE__).'/');\r
-require_once(ABSPATH.'wp-settings.php');\r
-?>
\ No newline at end of file
+/** 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