Update 5-database.php

This commit is contained in:
slawkens
2023-07-21 20:43:45 +02:00
parent 94f8e3602c
commit d1a2ce25b2

View File

@@ -76,9 +76,7 @@ if(!$error) {
$saved = Settings::saveConfig($configToSave, BASE . 'config.local.php', $content); $saved = Settings::saveConfig($configToSave, BASE . 'config.local.php', $content);
if($saved) { if($saved) {
success($locale['step_database_config_saved']); success($locale['step_database_config_saved']);
if(!$error) { $_SESSION['saved'] = true;
$_SESSION['saved'] = true;
}
} }
else { else {
$_SESSION['config_content'] = $content; $_SESSION['config_content'] = $content;