Skip to content

Commit

Permalink
Update InstallWordPress.php
Browse files Browse the repository at this point in the history
  • Loading branch information
adrolli committed Aug 26, 2024
1 parent 160319c commit 2f43ed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/press/src/Commands/InstallWordPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ public function wpInstall(): void
exit(1);
}

foreach ($env as $key => $value) {
info("$key: ".(is_bool($value) ? ($value ? 'true' : 'false') : $value));
}
$envDumpCommand = new \Symfony\Component\Process\Process(['printenv'], $wpPath, $env);
$envDumpCommand->run();
$this->line($envDumpCommand->getOutput());

$siteUrl = $env['APP_URL'].$env['WP_SLUG'];
$defaultSiteTitle = $env['APP_NAME'];
Expand Down

0 comments on commit 2f43ed7

Please sign in to comment.