Disables db_type editing, only sqlite is supported

main
Yasen Pramatarov 2024-11-01 19:48:23 +02:00
parent 213c627208
commit 5220ab7fcd
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ function editConfig($configPart, $indent, $platform=false, $parent='') {
</select> </select>
<?php } elseif ($config_item === 'version') {?> <?php } elseif ($config_item === 'version') {?>
<input class="form-control" type="text" name="<?= htmlspecialchars($config_item) ?>" value="<?= htmlspecialchars($config_value ?? '') ?>" disabled /> <input class="form-control" type="text" name="<?= htmlspecialchars($config_item) ?>" value="<?= htmlspecialchars($config_value ?? '') ?>" disabled />
<?php } elseif ($config_item === 'db_type') {?>
<input class="form-control" type="text" name="<?= htmlspecialchars($config_item) ?>" value="<?= htmlspecialchars($config_value ?? '') ?>" disabled />
<?php } else { ?> <?php } else { ?>
<input class="form-control" type="text" name="<?= htmlspecialchars($config_item) ?>" value="<?= htmlspecialchars($config_value ?? '') ?>" /> <input class="form-control" type="text" name="<?= htmlspecialchars($config_item) ?>" value="<?= htmlspecialchars($config_value ?? '') ?>" />
<?php } ?> <?php } ?>