Fix env path for windows

This commit is contained in:
René Preuß
2021-07-24 13:00:33 +02:00
parent 917af5c140
commit 26672908f1
4 changed files with 20 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ $app = new LaravelZero\Framework\Application(
*/
if (!file_exists(dirname(__DIR__) . DIRECTORY_SEPARATOR . '.env')) {
$app->useEnvironmentPath(getenv('HOME') . DIRECTORY_SEPARATOR . '.bunny-cli');
$app->useEnvironmentPath(bunny_cli_path());
}