/roles/wordpress/templates/wp-config.php

https://gitlab.com/citr.co/argento · PHP · 186 lines · 37 code · 35 blank · 114 comment · 2 complexity · 5dc2f5f8ad69986b38d02f49d3ed8acd MD5 · raw file

  1. <<<<<<< HEAD
  2. <?php
  3. /**
  4. * The base configurations of the WordPress.
  5. *
  6. * This file has the following configurations: MySQL settings, Table Prefix,
  7. * Secret Keys, WordPress Language, and ABSPATH. You can find more information
  8. * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
  9. * wp-config.php} Codex page. You can get the MySQL settings from your web host.
  10. *
  11. * This file is used by the wp-config.php creation script during the
  12. * installation. You don't have to use the web site, you can just copy this file
  13. * to "wp-config.php" and fill in the values.
  14. *
  15. * @package WordPress
  16. */
  17. // ** MySQL settings - You can get this info from your web host ** //
  18. /** The name of the database for WordPress */
  19. define('DB_NAME', '{{ wp_db_name }}');
  20. /** MySQL database username */
  21. define('DB_USER', '{{ wp_db_user }}');
  22. /** MySQL database password */
  23. define('DB_PASSWORD', '{{ wp_db_password }}');
  24. /** MySQL hostname */
  25. define('DB_HOST', 'localhost');
  26. /** Database Charset to use in creating database tables. */
  27. define('DB_CHARSET', 'utf8');
  28. /** The Database Collate type. Don't change this if in doubt. */
  29. define('DB_COLLATE', '');
  30. /**#@+
  31. * Authentication Unique Keys and Salts.
  32. *
  33. * Change these to different unique phrases!
  34. * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
  35. * 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.
  36. *
  37. * @since 2.6.0
  38. */
  39. {{ wp_salt.stdout }}
  40. /**#@-*/
  41. /**
  42. * WordPress Database Table prefix.
  43. *
  44. * You can have multiple installations in one database if you give each a unique
  45. * prefix. Only numbers, letters, and underscores please!
  46. */
  47. $table_prefix = 'wp_';
  48. /**
  49. * WordPress Localized Language, defaults to English.
  50. *
  51. * Change this to localize WordPress. A corresponding MO file for the chosen
  52. * language must be installed to wp-content/languages. For example, install
  53. * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
  54. * language support.
  55. */
  56. define('WPLANG', '');
  57. /**
  58. * For developers: WordPress debugging mode.
  59. *
  60. * Change this to true to enable the display of notices during development.
  61. * It is strongly recommended that plugin and theme developers use WP_DEBUG
  62. * in their development environments.
  63. */
  64. define('WP_DEBUG', false);
  65. /** Disable Automatic Updates Completely */
  66. define( 'AUTOMATIC_UPDATER_DISABLED', {{auto_up_disable}} );
  67. /** Define AUTOMATIC Updates for Components. */
  68. define( 'WP_AUTO_UPDATE_CORE', {{core_update_level}} );
  69. /* That's all, stop editing! Happy blogging. */
  70. /** Absolute path to the WordPress directory. */
  71. if ( !defined('ABSPATH') )
  72. define('ABSPATH', dirname(__FILE__) . '/');
  73. /** Sets up WordPress vars and included files. */
  74. require_once(ABSPATH . 'wp-settings.php');
  75. =======
  76. <?php
  77. /**
  78. * The base configurations of the WordPress.
  79. *
  80. * This file has the following configurations: MySQL settings, Table Prefix,
  81. * Secret Keys, WordPress Language, and ABSPATH. You can find more information
  82. * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
  83. * wp-config.php} Codex page. You can get the MySQL settings from your web host.
  84. *
  85. * This file is used by the wp-config.php creation script during the
  86. * installation. You don't have to use the web site, you can just copy this file
  87. * to "wp-config.php" and fill in the values.
  88. *
  89. * @package WordPress
  90. */
  91. define('WP_CONTENT_DIR', dirname(__FILE__) . '/wp-content');
  92. define('WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-content');
  93. // ** MySQL settings - You can get this info from your web host ** //
  94. /** The name of the database for WordPress */
  95. define('DB_NAME', '{{ wp_db_name }}');
  96. /** MySQL database username */
  97. define('DB_USER', '{{ wp_db_user }}');
  98. /** MySQL database password */
  99. define('DB_PASSWORD', '{{ wp_db_password }}');
  100. /** MySQL hostname */
  101. define('DB_HOST', 'localhost');
  102. /** Database Charset to use in creating database tables. */
  103. define('DB_CHARSET', 'utf8');
  104. /** The Database Collate type. Don't change this if in doubt. */
  105. define('DB_COLLATE', '');
  106. /**#@+
  107. * Authentication Unique Keys and Salts.
  108. *
  109. * Change these to different unique phrases!
  110. * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
  111. * 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.
  112. *
  113. * @since 2.6.0
  114. */
  115. {{ wp_salt.stdout }}
  116. /**#@-*/
  117. /**
  118. * WordPress Database Table prefix.
  119. *
  120. * You can have multiple installations in one database if you give each a unique
  121. * prefix. Only numbers, letters, and underscores please!
  122. */
  123. $table_prefix = 'wp_';
  124. /**
  125. * WordPress Localized Language, defaults to English.
  126. *
  127. * Change this to localize WordPress. A corresponding MO file for the chosen
  128. * language must be installed to wp-content/languages. For example, install
  129. * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
  130. * language support.
  131. */
  132. define('WPLANG', '');
  133. /**
  134. * For developers: WordPress debugging mode.
  135. *
  136. * Change this to true to enable the display of notices during development.
  137. * It is strongly recommended that plugin and theme developers use WP_DEBUG
  138. * in their development environments.
  139. */
  140. define('WP_DEBUG', false);
  141. /** Disable Automatic Updates Completely */
  142. define( 'AUTOMATIC_UPDATER_DISABLED', {{auto_up_disable}} );
  143. /** Define AUTOMATIC Updates for Components. */
  144. define( 'WP_AUTO_UPDATE_CORE', {{core_update_level}} );
  145. /* That's all, stop editing! Happy blogging. */
  146. /** Absolute path to the WordPress directory. */
  147. if ( !defined('ABSPATH') )
  148. define('ABSPATH', dirname(__FILE__) . '/wp/');
  149. /** Sets up WordPress vars and included files. */
  150. require_once(ABSPATH . 'wp-settings.php');
  151. >>>>>>> develop