1
0
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:
Mate Bartus
2015-07-20 18:22:53 +02:00
parent 846ab1d22f
commit 88bf1d7f58
2 changed files with 31 additions and 1 deletions

View File

@@ -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)
{