mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/13740] Clean up install config file when installation has finished
PHPBB3-13740
This commit is contained in:
@@ -219,7 +219,14 @@ class installer
|
||||
// Save install progress
|
||||
try
|
||||
{
|
||||
$this->install_config->save_config();
|
||||
if ($install_finished)
|
||||
{
|
||||
$this->install_config->clean_up_config_file();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->install_config->save_config();
|
||||
}
|
||||
}
|
||||
catch (installer_config_not_writable_exception $e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user