Skip to content

Commit ebae142

Browse files
committed
Debugging
1 parent f9312e4 commit ebae142

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Context/FeatureContext.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,9 @@ public function create_config( $subdir = '', $extra_php = false ) {
978978
}
979979

980980
error_log( 'Creating wp-config.php in Run Dir: ' . $run_dir );
981-
error_log( 'Config Cache Path: ' . $config_cache_path );
981+
error_log( 'Config Cache Path: ' . $config_cache_path . ' ' . file_exists( $config_cache_path ) );
982+
983+
error_log( print_r( scandir( $run_dir ), true ) );
982984

983985
if ( $config_cache_path && file_exists( $config_cache_path ) ) {
984986
copy( $config_cache_path, $run_dir . '/wp-config.php' );
@@ -988,6 +990,8 @@ public function create_config( $subdir = '', $extra_php = false ) {
988990
copy( $run_dir . '/wp-config.php', $config_cache_path );
989991
}
990992
}
993+
994+
error_log( print_r( scandir( $run_dir ), true ) );
991995
}
992996

993997
public function install_wp( $subdir = '' ) {

0 commit comments

Comments
 (0)