Skip to content

Commit

Permalink
Update install command for new site name syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed May 11, 2022
1 parent 47a8fbd commit 0687351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/HydeInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ protected function updateSiteName(): void
{
$config = file_get_contents(Hyde::path('config/hyde.php'));
$config = str_replace(
"'name' => env('SITE_NAME', 'HydePHP'),",
"'name' => env('SITE_NAME', '".$this->siteName."'),",
"'name' => ".'$siteName'." = env('SITE_NAME', 'HydePHP'),",
"'name' => ".'$siteName'." = env('SITE_NAME', '".$this->siteName."'),",
$config
);
file_put_contents(Hyde::path('config/hyde.php'), $config);
Expand Down

0 comments on commit 0687351

Please sign in to comment.