Skip to content

Commit

Permalink
Fix 5th step of installer
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jul 8, 2024
1 parent 33a4713 commit 83b3dc8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions install/steps/5-database.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@
}

if(!$error) {
$twig->display('install.installer.html.twig', array(
'url' => 'tools/5-database.php',
'message' => $locale['loading_spinner']
));

$content = '';
$saved = Settings::saveConfig($configToSave, BASE . 'config.local.php', $content);
if($saved) {
success($locale['step_database_config_saved']);
$_SESSION['saved'] = true;

$twig->display('install.installer.html.twig', array(
'url' => 'tools/5-database.php',
'message' => $locale['loading_spinner']
));
}
else {
$_SESSION['config_content'] = $content;
Expand Down

0 comments on commit 83b3dc8

Please sign in to comment.