Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish committed Jul 10, 2023
1 parent 717e7ef commit 5478997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ScaffoldInstallerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ private function installCICommands(): void
file_put_contents('./web/sites/default/settings.tugboat.php', $twig->render('settings.tugboat.php.twig', $tugboatConfig));
if (file_exists('./web/sites/default/settings.php')) {
$settings = file_get_contents('./web/sites/default/settings.php');
if (!str_contains($settings, 'include __DIR__ . "/settings.tugboat.php";')) {
//if (!str_contains($settings, 'include __DIR__ . "/settings.tugboat.php";')) {
$include = 'include __DIR__ . "/settings.tugboat.php";';
//file_put_contents('./web/sites/default/settings.php', $include . PHP_EOL, FILE_APPEND);
}
//}
}
}
}
Expand Down

0 comments on commit 5478997

Please sign in to comment.