Skip to content

Commit

Permalink
Fix getEnvironment() in composer-post-install-script.php
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Karajos <[email protected]>
  • Loading branch information
alexmerlin authored Dec 17, 2024
1 parent ecb4358 commit c2389d6
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/development.local.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
return file_exists('config/autoload/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 c2389d6

Please sign in to comment.