Instance configuration
This message confirms the instance is nearly ready. The configuration below shows the default settings. Enter your database credentials to complete the setup.
$sv) { foreach ($sv as $k => &$v) { if (is_bool($v) && !array_key_exists("{$sk}_$k", $_POST)) { $c[$sk][$k] = false; } } unset($v); } foreach ($_POST as $k => $v) { if ($v == '****') { continue; } $parts = explode('_', $k); $part_count = count($parts); if ($part_count != 2) { continue; } $section = $parts[0]; $key = $parts[1]; if (!array_key_exists($section, $c)) { $c[$section] = []; } if ($v === 'on') { $v = true; } if (is_numeric($v)) { $v += 0; } $c[$section][$key] = $v; } if (!file_put_contents(CFG_PATH, json_encode($c, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT))) { http_response_code(500); exit("Failed to write the configuration file."); } generate_alert('/system/config.php', 'Saved!', 200); exit(); } ?>
This message confirms the instance is nearly ready. The configuration below shows the default settings. Enter your database credentials to complete the setup.