mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix 5th step of installer
This commit is contained in:
parent
33a47137c9
commit
83b3dc803a
@ -72,16 +72,16 @@ if(!$error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!$error) {
|
if(!$error) {
|
||||||
$twig->display('install.installer.html.twig', array(
|
|
||||||
'url' => 'tools/5-database.php',
|
|
||||||
'message' => $locale['loading_spinner']
|
|
||||||
));
|
|
||||||
|
|
||||||
$content = '';
|
$content = '';
|
||||||
$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']);
|
||||||
$_SESSION['saved'] = true;
|
$_SESSION['saved'] = true;
|
||||||
|
|
||||||
|
$twig->display('install.installer.html.twig', array(
|
||||||
|
'url' => 'tools/5-database.php',
|
||||||
|
'message' => $locale['loading_spinner']
|
||||||
|
));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$_SESSION['config_content'] = $content;
|
$_SESSION['config_content'] = $content;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user