SHARE
TWEET

wp-config.php from WPMU

josh_max Apr 5th, 2012 220 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  21. // ** MySQL settings - You can get this info from your web host ** //
  22. /** The name of the database for WordPress */
  23. define('DB_NAME', 'wordpressmu');
  24.  
  25. /** MySQL database username */
  26. define('DB_USER', 'WordPressMU');
  27.  
  28. /** MySQL database password */
  29. define('DB_PASSWORD', 'Password');
  30.  
  31. /** MySQL hostname */
  32. define('DB_HOST', 'localhost');
  33.  
  34. /** Database Charset to use in creating database tables. */
  35. define('DB_CHARSET', 'utf8');
  36.  
  37. /** The Database Collate type. Don't change this if in doubt. */
  38. define('DB_COLLATE', '');
  39.  
  40. define('VHOST', 'no');
  41. $base = '/';
  42. define('DOMAIN_CURRENT_SITE', 'my.domain.com' );
  43. define('PATH_CURRENT_SITE', '/' );
  44. define('SITE_ID_CURRENT_SITE', 1);
  45. define('BLOGID_CURRENT_SITE', '1' );
  46.  
  47. /* Uncomment to allow blog admins to edit their users. See http://trac.mu.wordpress.org/ticket/1169 */
  48. //define( "EDIT_ANY_USER", true );
  49. /* Uncomment to enable post by email options. See http://trac.mu.wordpress.org/ticket/1084 */
  50. //define( "POST_BY_EMAIL", true );
  51.  
  52. /**#@+
  53.  * Authentication Unique Keys.
  54.  *
  55.  * Change these to different unique phrases!
  56.  * You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/wpmu/salt WordPress.org secret-key service}
  57.  * 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.
  58.  *
  59.  * @since 2.6.0
  60.  */
  61. define('AUTH_KEY',         '####################################');
  62. define('SECURE_AUTH_KEY',  '####################################');
  63. define('LOGGED_IN_KEY',    '####################################');
  64. define('NONCE_KEY',        '####################################');
  65. define('AUTH_SALT',        '####################################');
  66. define('LOGGED_IN_SALT',   '####################################');
  67. define('SECURE_AUTH_SALT', '####################################');
  68. /**#@-*/
  69.  
  70. /**
  71.  * WordPress Database Table prefix.
  72.  
  73.  *
  74.  * You can have multiple installations in one database if you give each a unique
  75.  * prefix. Only numbers, letters, and underscores please!
  76.  */
  77. $table_prefix  = 'wp_';
  78.  
  79. /**
  80.  * WordPress Localized Language, defaults to English.
  81.  *
  82.  * Change this to localize WordPress.  A corresponding MO file for the chosen
  83.  * language must be installed to wp-content/languages. For example, install
  84.  * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
  85.  * language support.
  86.  */
  87. define ('WPLANG', '');
  88.  
  89. // double check $base
  90. if( $base == 'BASE' )
  91.         die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
  92.  
  93. // uncomment this to enable WP_CONTENT_DIR/sunrise.php support
  94. //define( 'SUNRISE', 'on' );
  95.  
  96. // uncomment to move wp-content/blogs.dir to another relative path
  97. // remember to change WP_CONTENT too.
  98. // define( "UPLOADBLOGSDIR", "fileserver" );
  99.  
  100. // 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)
  101. // For example, the browser will redirect to http://examples.com/ for the following: define( 'NOBLOGREDIRECT', 'http://example.com/' );
  102. // Set this value to %siteurl% to redirect to the root of the site
  103. // define( 'NOBLOGREDIRECT', '%siteurl%' );
  104. // On a directory based install you must use the theme 404 handler.
  105.  
  106. // Location of mu-plugins
  107. // define( 'WPMU_PLUGIN_URL', 'wp-content/mu-plugins' );
  108. define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );
  109.  
  110.  
  111. define( "WP_USE_MULTIPLE_DB", false );
  112. define( 'NONCE_SALT', '####################################' );
  113.  
  114. // Up-s the memory limit
  115. define('WP_MEMORY_LIMIT', '512M');
  116. // Turn off Theme & Plugin editors
  117. define('DISALLOW_FILE_MODS',true);
  118.  
  119.  
  120.  
  121.  
  122. /* That's all, stop editing! Happy blogging. */
  123.  
  124.  
  125. /** Absolute path to the WordPress directory. */
  126. if ( !defined('ABSPATH') )
  127.         define('ABSPATH', dirname(__FILE__) . '/');
  128.  
  129. /** Sets up WordPress vars and included files. */
  130. require_once(ABSPATH . 'wp-settings.php');
  131. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top