Changeset 47198 for trunk/tests/phpunit/includes/install.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/install.php
r47122 r47198 12 12 define( 'WP_INSTALLING', true ); 13 13 require_once $config_file_path; 14 require_once dirname( __FILE__ ). '/functions.php';14 require_once __DIR__ . '/functions.php'; 15 15 16 16 // Set the theme to our special empty theme, to avoid interference from the current Twenty* theme. … … 34 34 // Override the PHPMailer. 35 35 global $phpmailer; 36 require_once ( dirname( __FILE__ ) . '/mock-mailer.php' );36 require_once __DIR__ . '/mock-mailer.php'; 37 37 $phpmailer = new MockPHPMailer(); 38 38 39 register_theme_directory( dirname( __FILE__ ). '/../data/themedir1' );39 register_theme_directory( __DIR__ . '/../data/themedir1' ); 40 40 41 41 /*
Note: See TracChangeset
for help on using the changeset viewer.