mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
ajax step status check standardized
This commit is contained in:
@@ -62,9 +62,7 @@ class FinalizeController extends InstallationController
|
||||
}
|
||||
|
||||
if ($success) {
|
||||
// TODO clear session
|
||||
// session()->forget('install');
|
||||
// session()->forget('db');
|
||||
session()->flush();
|
||||
}
|
||||
|
||||
return view('install.finish', $this->formatData([
|
||||
@@ -86,7 +84,7 @@ class FinalizeController extends InstallationController
|
||||
'DB_PASSWORD' => session('db.password'),
|
||||
'DB_DATABASE' => session('db.database'),
|
||||
'DB_SOCKET' => session('db.socket'),
|
||||
], [], base_path('.env')); // TODO unset INSTALL
|
||||
], ['INSTALL'], base_path('.env'));
|
||||
}
|
||||
|
||||
private function writeConfigFile($config_contents, $config_file)
|
||||
|
||||
Reference in New Issue
Block a user