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 92bfc1e commit 2592dbbCopy full SHA for 2592dbb
system/Commands/Utilities/Environment.php
@@ -135,7 +135,7 @@ public function run(array $params)
135
private function writeNewEnvironmentToEnvFile(string $newEnv): bool
136
{
137
$baseEnv = ROOTPATH . 'env';
138
- $envFile = (new Paths())->envDirectory ?? ROOTPATH . '.env';
+ $envFile = ((new Paths())->envDirectory ?? ROOTPATH) . '.env';
139
140
if (! is_file($envFile)) {
141
if (! is_file($baseEnv)) {
0 commit comments