Skip to content

Commit

Permalink
Merge pull request #417 from pantheon-systems/2.x-moar-wp-autodetection
Browse files Browse the repository at this point in the history
add additional wp config paths to check for
  • Loading branch information
jazzsequence authored Nov 16, 2021
2 parents 5e1d4a5 + 7c815c2 commit 2426c24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Commands/BuildToolsBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ protected function autodetectUpstreamAtDir($siteDir)
'core/misc/drupal.js' => 'empty', // Drupal 8
'misc/drupal.js' => 'empty-7', // Drupal 7
'wp-config.php' => 'empty-wordpress', // WordPress
'wp-config-sample.php' => 'empty-wordpress', // Also WordPress
'wp-config-pantheon.php' => 'empty-wordpress', // Also also WordPress
];

foreach ($upstream_map as $file => $upstream) {
Expand Down

0 comments on commit 2426c24

Please sign in to comment.