diff --git a/bin/composer-post-install-script.php b/bin/composer-post-install-script.php index b45e84e..66bd803 100644 --- a/bin/composer-post-install-script.php +++ b/bin/composer-post-install-script.php @@ -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