Disables db_type editing, only sqlite is supported
							parent
							
								
									213c627208
								
							
						
					
					
						commit
						5220ab7fcd
					
				| 
						 | 
					@ -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 } ?>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue