Changeset 925 in tests for trunk/bin/install.php
- Timestamp:
- 07/19/2012 07:17:16 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bin/install.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/install.php
r883 r925 8 8 9 9 $config_file_path = $argv[1]; 10 $multisite = ! empty( $argv[2] ); 10 11 11 12 $config_dir = dirname( $config_file_path ); … … 30 31 $wpdb->suppress_errors( false ); 31 32 32 $hash = get_option( 'db_version' ) . ' ' . sha1_file( $config_file_path );33 $hash = get_option( 'db_version' ) . ' ' . (int) $multisite . ' ' . sha1_file( $config_file_path ); 33 34 34 35 if ( $installed && file_exists( WP_TESTS_VERSION_FILE ) && file_get_contents( WP_TESTS_VERSION_FILE ) == $hash ) … … 43 44 wp_install( WP_TESTS_TITLE, 'admin', WP_TESTS_EMAIL, true, null, 'password' ); 44 45 45 if ( defined( 'WP_TESTS_MULTISITE' ) && WP_TESTS_MULTISITE) {46 if ( $multisite ) { 46 47 echo "Installing network…" . PHP_EOL; 47 48
Note:
See TracChangeset
for help on using the changeset viewer.