Skip to content

Commit

Permalink
Merge pull request #530 from dotkernel/issue-526
Browse files Browse the repository at this point in the history
Environment composer post install script bug fix
  • Loading branch information
arhimede authored Dec 17, 2024
2 parents 79301f1 + 45d691a commit ecb4358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/composer-post-install-script.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function copyFile(array $file): void

function getEnvironment(): string
{
return file_exists('config/autoload/development.local.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
return file_exists('config/development.local.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
}

// when adding files to the below array the `source` and `destination` paths must be relative to the project root folder
Expand Down

0 comments on commit ecb4358

Please sign in to comment.