We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ebd6e commit e18b11fCopy full SHA for e18b11f
bin/composer-post-install-script.php
@@ -26,7 +26,7 @@ function copyFile(array $file): void
26
27
function getEnvironment(): string
28
{
29
- return file_exists('config/development.local.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
+ return file_exists('config/development.config.php') ? ENVIRONMENT_DEVELOPMENT : ENVIRONMENT_PRODUCTION;
30
}
31
32
// when adding files to the below array the `source` and `destination` paths must be relative to the project root folder
@@ -49,4 +49,7 @@ function getEnvironment(): string
49
],
50
];
51
52
+
53
+var_dump(getEnvironment()); exit;
54
55
array_walk($files, 'copyFile');
0 commit comments