Changeset 38908 for trunk/tests/phpunit/includes/install.php
- Timestamp:
- 10/25/2016 11:05:17 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/install.php
r38907 r38908 10 10 $multisite = ! empty( $argv[2] ); 11 11 12 define( 'WP_INSTALLING', true ); 13 require_once $config_file_path; 14 require_once dirname( __FILE__ ) . '/functions.php'; 15 12 16 // Set the theme to our special empty theme, to avoid interference from the current Twenty* theme. 13 17 if ( ! defined( 'WP_DEFAULT_THEME' ) ) { 14 18 define( 'WP_DEFAULT_THEME', 'default' ); 15 19 } 16 $wp_theme_directories = array( dirname( __FILE__ ) . '/../data/themedir1' );17 18 define( 'WP_INSTALLING', true );19 require_once $config_file_path;20 require_once dirname( __FILE__ ) . '/functions.php';21 20 22 21 tests_reset__SERVER(); … … 33 32 require_once( dirname( __FILE__ ) . '/mock-mailer.php' ); 34 33 $phpmailer = new MockPHPMailer(); 34 35 register_theme_directory( dirname( __FILE__ ) . '/../data/themedir1' ); 35 36 36 37 /*
Note: See TracChangeset
for help on using the changeset viewer.