Changeset 760 in tests for trunk/wp-config-sample.php
- Timestamp:
- 06/30/2012 05:30:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-config-sample.php
r751 r760 1 1 <?php 2 3 /* Path to the WordPress codebase you'd like to test. Add a backslash in the end. */ 4 define( 'ABSPATH', dirname( __FILE__ ) . '/wordpress/' ); 5 2 6 // ** MySQL settings ** // 3 7 … … 9 13 // DO NOT use a production database or one that is shared with something else. 10 14 11 define( 'DB_NAME', 'putyourdbnamehere'); // The name of the database12 define( 'DB_USER', 'usernamehere'); // Your MySQL username13 define( 'DB_PASSWORD', 'yourpasswordhere'); // ...and password14 define( 'DB_HOST', 'localhost'); // 99% chance you won't need to change this value15 define( 'DB_CHARSET', 'utf8');16 define( 'DB_COLLATE', '');15 define( 'DB_NAME', 'putyourdbnamehere' ); // The name of the database 16 define( 'DB_USER', 'usernamehere' ); // Your MySQL username 17 define( 'DB_PASSWORD', 'yourpasswordhere' ); // ...and password 18 define( 'DB_HOST', 'localhost' ); // 99% chance you won't need to change this value 19 define( 'DB_CHARSET', 'utf8' ); 20 define( 'DB_COLLATE', '' ); 17 21 18 22 // You can have multiple installations in one database if you give each a unique prefix … … 23 27 // For example, install de.mo to wp-content/languages and set WPLANG to 'de' 24 28 // to enable German language support. 25 define ( 'WPLANG', '');29 define ( 'WPLANG', '' ); 26 30 27 // uncomment and change this if you'd like to load plugins from a particular directory prior to testing 28 #define('DIR_TESTPLUGINS', './wp-plugins'); 29 ?> 31 define( 'WP_TESTS_DOMAIN', 'example.org' ); 32 define( 'WP_TESTS_EMAIL', 'admin@example.org' ); 33 define( 'WP_TESTS_TITLE', 'Test Blog' ); 34 define( 'WP_TESTS_NETWORK_TITLE', 'Test Network' ); 35 define( 'WP_TESTS_SUBDOMAIN_INSTALL', true ); 36 $base = '/'; 37 38 /* Cron tries to make an HTTP request to the blog, which always fails, because tests are run in CLI mode only */ 39 define( 'DISABLE_WP_CRON', true ); 40 41 define( 'WP_ALLOW_MULTISITE', false ); 42 if ( WP_ALLOW_MULTISITE ) { 43 define( 'WP_TESTS_BLOGS', 'first,second,third,fourth' ); 44 } 45 if ( WP_ALLOW_MULTISITE && ! defined('WP_INSTALLING') ) { 46 define( 'SUBDOMAIN_INSTALL', WP_TESTS_SUBDOMAIN_INSTALL ); 47 define( 'MULTISITE', true ); 48 define( 'DOMAIN_CURRENT_SITE', WP_TESTS_DOMAIN ); 49 define( 'PATH_CURRENT_SITE', '/' ); 50 define( 'SITE_ID_CURRENT_SITE', 1 ); 51 define( 'BLOG_ID_CURRENT_SITE', 1 ); 52 //define( 'SUNRISE', TRUE ); 53 } 54 55 $table_prefix = 'wp_'; 56 57 define( 'WP_PHP_BINARY', 'php' );
Note: See TracChangeset
for help on using the changeset viewer.