1
0

wp-config-sample.php.j2 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. /**
  3. * The base configuration for WordPress
  4. *
  5. * The wp-config.php creation script uses this file during the installation.
  6. * You don't have to use the web site, you can copy this file to "wp-config.php"
  7. * and fill in the values.
  8. *
  9. * This file contains the following configurations:
  10. *
  11. * * Database settings
  12. * * Secret keys
  13. * * Database table prefix
  14. * * ABSPATH
  15. *
  16. * @link https://wordpress.org/documentation/article/editing-wp-config-php/
  17. *
  18. * @package WordPress
  19. */
  20. // ** Database settings - You can get this info from your web host ** //
  21. /** The name of the database for WordPress */
  22. define( 'DB_NAME', '{{ db_name }}' );
  23. /** Database username */
  24. define( 'DB_USER', '{{ db_username }}' );
  25. /** Database password */
  26. define( 'DB_PASSWORD', '{{ db_password }}' );
  27. /** Database hostname */
  28. define( 'DB_HOST', 'localhost' );
  29. /** Database charset to use in creating database tables. */
  30. define( 'DB_CHARSET', 'utf8mb4' );
  31. /** The database collate type. Don't change this if in doubt. */
  32. define( 'DB_COLLATE', 'utf8mb4_unicode_ci' );
  33. /**#@+
  34. * Authentication unique keys and salts.
  35. *
  36. * Change these to different unique phrases! You can generate these using
  37. * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
  38. *
  39. * You can change these at any point in time to invalidate all existing cookies.
  40. * This will force all users to have to log in again.
  41. *
  42. * @since 2.6.0
  43. */
  44. {{ wp_salt.stdout }}
  45. /**#@-*/
  46. /**
  47. * WordPress database table prefix.
  48. *
  49. * You can have multiple installations in one database if you give each
  50. * a unique prefix. Only numbers, letters, and underscores please!
  51. */
  52. $table_prefix = 'wp_';
  53. /**
  54. * For developers: WordPress debugging mode.
  55. *
  56. * Change this to true to enable the display of notices during development.
  57. * It is strongly recommended that plugin and theme developers use WP_DEBUG
  58. * in their development environments.
  59. *
  60. * For information on other constants that can be used for debugging,
  61. * visit the documentation.
  62. *
  63. * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
  64. */
  65. define( 'WP_DEBUG', false );
  66. /* Add any custom values between this line and the "stop editing" line. */
  67. /* That's all, stop editing! Happy publishing. */
  68. /** Absolute path to the WordPress directory. */
  69. if ( ! defined( 'ABSPATH' ) ) {
  70. define( 'ABSPATH', __DIR__ . '/' );
  71. }
  72. /** Sets up WordPress vars and included files. */
  73. require_once ABSPATH . 'wp-settings.php';