/standalone/wpmu/wp-config-sample.php

https://github.com/wpms/wp-sqlsrv · PHP · 121 lines · 29 code · 20 blank · 72 comment · 3 complexity · 040668d96579dc77f2b04f39673a78dc MD5 · raw file

  1. <?php
  2. /**
  3. * The base configurations of the WordPress.
  4. *
  5. **************************************************************************
  6. * Do not try to create this file manually. Read the README.txt and run the
  7. * web installer.
  8. **************************************************************************
  9. *
  10. * This file has the following configurations: MySQL settings, Table Prefix,
  11. * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
  12. * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
  13. * wp-config.php} Codex page. You can get the MySQL settings from your web host.
  14. *
  15. * This file is used by the wp-config.php creation script during the
  16. * installation.
  17. *
  18. * @package WordPress
  19. */
  20. // ** MySQL settings - You can get this info from your web host ** //
  21. /** The name of the database for WordPress */
  22. define('DB_NAME', 'wordpress');
  23. /** MySQL database username */
  24. define('DB_USER', 'username');
  25. /** MySQL database password */
  26. define('DB_PASSWORD', 'password');
  27. /** MySQL hostname */
  28. define('DB_HOST', 'localhost');
  29. /** Database Charset to use in creating database tables. */
  30. define('DB_CHARSET', 'utf8');
  31. /** Database Type. Defaults to mysql */
  32. define('DB_TYPE', 'mysql');
  33. /** The Database Collate type. Don't change this if in doubt. */
  34. define('DB_COLLATE', '');
  35. define('VHOST', 'VHOSTSETTING');
  36. $base = 'BASE';
  37. define('DOMAIN_CURRENT_SITE', 'current_site_domain' );
  38. define('PATH_CURRENT_SITE', 'current_site_path' );
  39. define('SITE_ID_CURRENT_SITE', 1);
  40. define('BLOGID_CURRENT_SITE', '1' );
  41. /* Uncomment to allow blog admins to edit their users. See http://trac.mu.wordpress.org/ticket/1169 */
  42. //define( "EDIT_ANY_USER", true );
  43. /* Uncomment to enable post by email options. See http://trac.mu.wordpress.org/ticket/1084 */
  44. //define( "POST_BY_EMAIL", true );
  45. /**#@+
  46. * Authentication Unique Keys.
  47. *
  48. * Change these to different unique phrases!
  49. * You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/wpmu/salt WordPress.org secret-key service}
  50. * 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.
  51. *
  52. * @since 2.6.0
  53. */
  54. define('AUTH_KEY', 'put your unique phrase here');
  55. define('SECURE_AUTH_KEY', 'put your unique phrase here');
  56. define('LOGGED_IN_KEY', 'put your unique phrase here');
  57. define('NONCE_KEY', 'put your unique phrase here');
  58. define('AUTH_SALT', 'put your unique phrase here');
  59. define('LOGGED_IN_SALT', 'put your unique phrase here');
  60. define('SECURE_AUTH_SALT', 'put your unique phrase here');
  61. /**#@-*/
  62. /**
  63. * WordPress Database Table prefix.
  64. *
  65. * You can have multiple installations in one database if you give each a unique
  66. * prefix. Only numbers, letters, and underscores please!
  67. */
  68. $table_prefix = 'wp_';
  69. /**
  70. * WordPress Localized Language, defaults to English.
  71. *
  72. * Change this to localize WordPress. A corresponding MO file for the chosen
  73. * language must be installed to wp-content/languages. For example, install
  74. * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
  75. * language support.
  76. */
  77. define ('WPLANG', '');
  78. // double check $base
  79. if( $base == 'BASE' )
  80. die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
  81. // uncomment this to enable WP_CONTENT_DIR/sunrise.php support
  82. //define( 'SUNRISE', 'on' );
  83. // uncomment to move wp-content/blogs.dir to another relative path
  84. // remember to change WP_CONTENT too.
  85. // define( "UPLOADBLOGSDIR", "fileserver" );
  86. // If VHOST is 'yes' uncomment and set this to a URL to redirect if a blog does not exist or is a 404 on the main blog. (Useful if signup is disabled)
  87. // For example, the browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' );
  88. // Set this value to %siteurl% to redirect to the root of the site
  89. // define( 'NOBLOGREDIRECT', '' );
  90. // On a directory based install you must use the theme 404 handler.
  91. // Location of mu-plugins
  92. // define( 'WPMU_PLUGIN_DIR', '' );
  93. // define( 'WPMU_PLUGIN_URL', '' );
  94. // define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );
  95. define( "WP_USE_MULTIPLE_DB", false );
  96. /* That's all, stop editing! Happy blogging. */
  97. /** Absolute path to the WordPress directory. */
  98. if ( !defined('ABSPATH') )
  99. define('ABSPATH', dirname(__FILE__) . '/');
  100. /** Sets up WordPress vars and included files. */
  101. require_once(ABSPATH . 'wp-settings.php');