WordPress VIP site for Primary Vagrant
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

106 lines
2.7 KiB

  1. <?php
  2. /**
  3. * Local mods
  4. */
  5. if ( file_exists( __DIR__ . '/local-config.php' ) ) {
  6. require __DIR__ . '/local-config.php';
  7. }
  8. if ( ! defined( 'DB_NAME' ) ) {
  9. define( 'DB_NAME', 'vip.wordpress.pv' );
  10. }
  11. if ( ! defined( 'DB_USER' ) ) {
  12. define( 'DB_USER', 'username' );
  13. }
  14. if ( ! defined( 'DB_PASSWORD' ) ) {
  15. define( 'DB_PASSWORD', 'password' );
  16. }
  17. define( 'DB_HOST', 'localhost' );
  18. define( 'DB_CHARSET', 'utf8' );
  19. define( 'DB_COLLATE', '' );
  20. /** Disable Automatic core updates. */
  21. define( 'WP_AUTO_UPDATE_CORE', false );
  22. /**#@-*/
  23. /**
  24. * WordPress Database Table prefix.
  25. *
  26. * You can have multiple installations in one database if you give each a unique
  27. * prefix. Only numbers, letters, and underscores please!
  28. */
  29. $table_prefix = 'wp_';
  30. /**
  31. * WordPress Localized Language, defaults to English.
  32. *
  33. * Change this to localize WordPress. A corresponding MO file for the chosen
  34. * language must be installed to wp-content/languages. For example, install
  35. * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
  36. * language support.
  37. */
  38. if ( ! defined( 'WPLANG' ) ) {
  39. define( 'WPLANG', '' );
  40. }
  41. define( 'WP_DEBUG', true );
  42. define( 'SAVEQUERIES', true );
  43. if ( ! defined( 'JETPACK_DEV_DEBUG' ) ) {
  44. define( 'JETPACK_DEV_DEBUG', true );
  45. }
  46. // Put Keyring into headless mode
  47. define( 'KEYRING__HEADLESS_MODE', true );
  48. /* Content Directory */
  49. define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/wp-content' );
  50. define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-content' );
  51. define( 'MULTISITE', true );
  52. define( 'SUNRISE', true );
  53. define( 'PATH_CURRENT_SITE', '/' );
  54. define( 'SITE_ID_CURRENT_SITE', 1 );
  55. define( 'BLOG_ID_CURRENT_SITE', 1 );
  56. if ( ! defined( 'DOMAIN_CURRENT_SITE' ) ) {
  57. define( 'DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST'] );
  58. }
  59. if ( ! defined( 'SUBDOMAIN_INSTALL' ) ) {
  60. define( 'SUBDOMAIN_INSTALL', false );
  61. }
  62. if ( ! defined( 'WP_DEFAULT_THEME' ) ) {
  63. define( 'WP_DEFAULT_THEME', 'pub/twentyfifteen' );
  64. }
  65. define( 'WP_MEMORY_LIMIT', '64M' );
  66. define( 'WP_MAX_MEMORY_LIMIT', '256M' );
  67. /* That's all, stop editing! Happy blogging. */
  68. // Use the latest Jetpack user-agent detection if we have it
  69. if ( file_exists( __DIR__ . '/wp-content/plugins/jetpack/class.jetpack-user-agent.php' ) ) {
  70. require_once( __DIR__ . '/wp-content/plugins/jetpack/class.jetpack-user-agent.php' );
  71. } else {
  72. require __DIR__ . '/config/is-mobile.php';
  73. }
  74. require __DIR__ . '/config/batcache-config.php';
  75. require __DIR__ . '/config/roles.php';
  76. require __DIR__ . '/config/vip-config.php';
  77. /** Absolute path to the WordPress directory. */
  78. if ( ! defined( 'ABSPATH' ) ) {
  79. define( 'ABSPATH', dirname( __FILE__ ) . '/wp/' );
  80. }
  81. /** Sets up WordPress vars and included files. */
  82. require_once( ABSPATH . 'wp-settings.php' );