Skip to content

Commit 45d691a

Browse files
committed
env bug fix
Signed-off-by: MarioRadu <magda_marior@yahoo.com>
1 parent 20bb143 commit 45d691a

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)