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 3f55381 commit 160319c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/press/src/Commands/InstallWordPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,14 +307,14 @@ public function wpInstall(): void

$env = $this->getDotenv();

´ $wpPath = base_path(trim($env['WP_PATH'], '/'));
$wpPath = base_path(trim($env['WP_PATH'], '/'));
if (! File::exists($wpPath.'/wp-config.php')) {
alert('wp-config.php not found! Please ensure the file is created and configured.');
exit(1);
}

foreach ($env as $key => $value) {
info("$key: " . (is_bool($value) ? ($value ? 'true' : 'false') : $value));
info("$key: ".(is_bool($value) ? ($value ? 'true' : 'false') : $value));
}

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

0 comments on commit 160319c

Please sign in to comment.