Skip to content

Commit

Permalink
Replace hyphen with underscore in ahSettingsFile (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssu-carlsoni committed Apr 2, 2024
1 parent 782e2b9 commit 56947ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FilePaths.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public static function ahSettingsFile(string $ah_group, string $site_name) {

// Acquia Cloud does not support periods in db names.
$site_name = str_replace('.', '_', $site_name);
// Acquia Cloud does not support hyphens in db names.
$site_name = str_replace('-', '_', $site_name);

return "/var/www/site-php/$ah_group/$site_name-settings.inc";
}
Expand Down

0 comments on commit 56947ff

Please sign in to comment.