PageRenderTime 80ms CodeModel.GetById 36ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/wp-config.php.j2

https://gitlab.com/elena-bo/test
Jinja | 65 lines | 62 code | 3 blank | 0 comment | 0 complexity | 506a46b11c405816d8841f2f43c7a614 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, and ABSPATH. You can find more information by visiting
  7. * {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
  8. * 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', '{{wp_db_name}}');
  19. /** MySQL database username */
  20. define('DB_USER', '{{wp_db_user}}');
  21. /** MySQL database password */
  22. define('DB_PASSWORD', '{{wp_db_password}}');
  23. /** MySQL hostname */
  24. define('DB_HOST', '{{wp_db_host}}');
  25. /** Database Charset to use in creating database tables. */
  26. define('DB_CHARSET', '{{wp_db_charset}}');
  27. /** The Database Collate type. Don't change this if in doubt. */
  28. define('DB_COLLATE', '{{wp_db_collate}}');
  29. define('FS_METHOD', '{{wp_fs_method}}');
  30. define ('WPLANG', '{{wp_lang}}');
  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. {{wp_salt.stdout}}
  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_table_prefix}}';
  49. /**
  50. * For developers: WordPress debugging mode.
  51. *
  52. * Change this to true to enable the display of notices during development.
  53. * It is strongly recommended that plugin and theme developers use WP_DEBUG
  54. * in their development environments.
  55. */
  56. define('WP_DEBUG', {{wp_debug}});
  57. /* That's all, stop editing! Happy blogging. */
  58. /** Absolute path to the WordPress directory. */
  59. if ( !defined('ABSPATH') )
  60. define('ABSPATH', dirname(__FILE__) . '/');
  61. /** Sets up WordPress vars and included files. */
  62. require_once(ABSPATH . 'wp-settings.php');