Skip to content

Commit

Permalink
Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Feb 1, 2022
1 parent fb94dd5 commit c36e446
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/system/traits/SetupHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Exception;
use System\Classes\UpdateManager;
use October\Rain\Process\Composer as ComposerProcess;
use Illuminate\Support\Env;
use Dotenv\Dotenv;
use PDOException;
use PDO;
Expand Down Expand Up @@ -81,7 +82,7 @@ protected function checkEnvWritable()
*/
protected function refreshEnvVars()
{
DotEnv::create(App::environmentPath(), App::environmentFile())->load();
DotEnv::create(Env::getRepository(), App::environmentPath(), App::environmentFile())->load();
}

/**
Expand Down

0 comments on commit c36e446

Please sign in to comment.