/deploy/deploy-config.erb

https://github.com/infovore/goodcastle · Ruby HTML · 87 lines · 71 code · 16 blank · 0 comment · 5 complexity · f360840101749fa3e83de8fee4aeacf4 MD5 · raw file

  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
  7. * by 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', '<%= dbname %>');
  19. /** MySQL database username */
  20. define('DB_USER', '<%= dbuser %>');
  21. /** MySQL database password */
  22. define('DB_PASSWORD', '<%= dbpwd %>');
  23. /** MySQL hostname */
  24. define('DB_HOST', 'localhost');
  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. define('WP_HOME','<%= siteurl %>');
  30. define('WP_SITEURL','<%= siteurl %>');
  31. /**#@+
  32. * Authentication Unique Keys and Salts.
  33. *
  34. * Change these to different unique phrases!
  35. * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
  36. * 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.
  37. *
  38. * @since 2.6.0
  39. */
  40. <%= secure_keys %>
  41. /**#@-*/
  42. /**
  43. * WordPress Database Table prefix.
  44. *
  45. * You can have multiple installations in one database if you give each a unique
  46. * prefix. Only numbers, letters, and underscores please!
  47. */
  48. $table_prefix = 'wp_';
  49. /**
  50. * WordPress Localized Language, defaults to English.
  51. *
  52. * Change this to localize WordPress. A corresponding MO file for the chosen
  53. * language must be installed to wp-content/languages. For example, install
  54. * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
  55. * language support.
  56. */
  57. define('WPLANG', '');
  58. /**
  59. * For developers: WordPress debugging mode.
  60. *
  61. * Change this to true to enable the display of notices during development.
  62. * It is strongly recommended that plugin and theme developers use WP_DEBUG
  63. * in their development environments.
  64. */
  65. define('WP_DEBUG', false);
  66. /* That's all, stop editing! Happy blogging. */
  67. /** Absolute path to the WordPress directory. */
  68. if ( !defined('ABSPATH') )
  69. define('ABSPATH', dirname(__FILE__) . '/');
  70. /** Sets up WordPress vars and included files. */
  71. require_once(ABSPATH . 'wp-settings.php');