Skip to content

Commit ecb4358

Browse files
authored
Merge pull request #530 from dotkernel/issue-526
Environment composer post install script bug fix
2 parents 79301f1 + 45d691a commit ecb4358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/composer-post-install-script.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function copyFile(array $file): void
2626

2727
function getEnvironment(): string
2828
{
29-
return file_exists('config/autoload/development.local.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
29+
return file_exists('config/development.local.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
3030
}
3131

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

0 commit comments

Comments
 (0)