wp-config.php.erb 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /**
  3. * The base configurations of the 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. You don't have to use the web site, you can just copy this file
  12. * to "wp-config.php" and fill in the values.
  13. *
  14. * @package WordPress
  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', '<%= @database['database'] %>');
  19. /** MySQL database username */
  20. define('DB_USER', '<%= @database['username'] %>');
  21. /** MySQL database password */
  22. define('DB_PASSWORD', '<%= @database['password'] %>');
  23. /** MySQL hostname */
  24. define('DB_HOST', '<%= @host %>');
  25. /** Database Charset to use in creating database tables. */
  26. define('DB_CHARSET', 'utf8');
  27. /** The Database Collate type. Don't change this if in doubt. */
  28. define('DB_COLLATE', '');
  29. /**#@+
  30. * Authentication Unique Keys.
  31. *
  32. * Change these to different unique phrases!
  33. * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
  34. * 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.
  35. *
  36. * @since 2.6.0
  37. */
  38. define('AUTH_KEY', '<%= @app['wordpress']['auth_key'] %>');
  39. define('SECURE_AUTH_KEY', '<%= @app['wordpress']['secure_auth_key'] %>');
  40. define('LOGGED_IN_KEY', '<%= @app['wordpress']['logged_in_key'] %>');
  41. define('NONCE_KEY', '<%= @app['wordpress']['nonce_key'] %>');
  42. /**#@-*/
  43. /**
  44. * WordPress Database Table prefix.
  45. *
  46. * You can have multiple installations in one database if you give each a unique
  47. * prefix. Only numbers, letters, and underscores please!
  48. */
  49. $table_prefix = 'wp_';
  50. /**
  51. * WordPress Localized Language, defaults to English.
  52. *
  53. * Change this to localize WordPress. A corresponding MO file for the chosen
  54. * language must be installed to wp-content/languages. For example, install
  55. * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
  56. * language support.
  57. */
  58. define ('WPLANG', '');
  59. /* That's all, stop editing! Happy blogging. */
  60. /** WordPress absolute path to the Wordpress directory. */
  61. if ( !defined('ABSPATH') )
  62. define('ABSPATH', dirname(__FILE__) . '/');
  63. /** Sets up WordPress vars and included files. */
  64. require_once(ABSPATH . 'wp-settings.php');