Skip to content

Commit c2389d6

Browse files
authored
Fix getEnvironment() in composer-post-install-script.php
Signed-off-by: Alex Karajos <[email protected]>
1 parent ecb4358 commit c2389d6

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/development.local.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
29+
return file_exists('config/autoload/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)