Skip to content

Commit

Permalink
Utiliza método correto para instanciar Dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares committed Jan 4, 2021
1 parent 3ed593e commit c8e561d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function boolIcon(bool $bool): string
$dbCheck = false;

if ($envExists) {
Dotenv\Dotenv::create($rootDir)->load();
Dotenv\Dotenv::createImmutable($rootDir)->load();
$dbCheck = $installer->checkDatabaseConnection();
$isInstalled = $installer->isInstalled();
}
Expand Down

0 comments on commit c8e561d

Please sign in to comment.