Skip to content

Commit f9312e4

Browse files
committed
Debugging
1 parent c196d8b commit f9312e4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Context/FeatureContext.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,8 +936,13 @@ public function download_wp( $subdir = '' ) {
936936
mkdir( $dest_dir );
937937
}
938938

939+
error_log( 'Copy WP from Cache Dir to Run Dir ' . $dest_dir );
940+
error_log( print_r( scandir( $dest_dir ), true ) );
941+
939942
self::copy_dir( self::$cache_dir, $dest_dir );
940943

944+
error_log( print_r( scandir( $dest_dir ), true ) );
945+
941946
if ( ! is_dir( $dest_dir . '/wp-content/mu-plugins' ) ) {
942947
mkdir( $dest_dir . '/wp-content/mu-plugins' );
943948
}
@@ -972,6 +977,9 @@ public function create_config( $subdir = '', $extra_php = false ) {
972977
$config_cache_path = self::$install_cache_dir . '/config_' . md5( implode( ':', $params ) . ':subdir=' . $subdir );
973978
}
974979

980+
error_log( 'Creating wp-config.php in Run Dir: ' . $run_dir );
981+
error_log( 'Config Cache Path: ' . $config_cache_path );
982+
975983
if ( $config_cache_path && file_exists( $config_cache_path ) ) {
976984
copy( $config_cache_path, $run_dir . '/wp-config.php' );
977985
} else {

0 commit comments

Comments
 (0)