diff --git a/public/install.php b/public/install.php index 77fd763498..f1e9a34b3d 100644 --- a/public/install.php +++ b/public/install.php @@ -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(); }