mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update config cache on install finalize step (#14097)
This make sure the user doesn't get stuck in a loop.
This commit is contained in:
@@ -77,11 +77,15 @@ class FinalizeController extends InstallationController implements InstallerStep
|
||||
|
||||
private function writeEnvFile()
|
||||
{
|
||||
return EnvHelper::writeEnv(
|
||||
$env = EnvHelper::writeEnv(
|
||||
$this->envVars(),
|
||||
['INSTALL'],
|
||||
base_path('.env')
|
||||
);
|
||||
|
||||
\Artisan::call('config:cache'); // make sure to update config in case it is cached
|
||||
|
||||
return $env;
|
||||
}
|
||||
|
||||
private function envVars()
|
||||
|
||||
Reference in New Issue
Block a user