= 0 && $keep <= 10000) ? $keep : 100; vmm_save_config($conf); $_SESSION['vmmngr_error'] = gettext('Settings saved.'); header('Location: vmmngr_config.php'); exit; } if (strtoupper((string)($_SERVER['REQUEST_METHOD'] ?? '')) === 'POST' && ($_POST['act'] ?? '') === 'register') { $added = vmm_register_boot(); $_SESSION['vmmngr_error'] = $added === [] ? gettext('Boot integration was already complete - nothing changed.') : sprintf(gettext('Added to config.xml: %s. Modules take effect at the next boot.'), implode(', ', $added)); header('Location: vmmngr_config.php'); exit; } $pgtitle = [gettext('Extensions'), gettext('VM Manager'), gettext('Configuration')]; $sc = vmm_selfcheck(); $conf = vmm_config(); include 'fbegin.inc'; ?>
vm_source

vmm_load
nmdm_load

· ·
PHP
vm_dir
vmm: · nmdm:
: vmm_load= · nmdm_load=
,
· (% )

gettext('vm-bhyve'), 'grub' => gettext('grub-bhyve'), 'firmware' => gettext('UEFI firmware'), 'ttyd' => gettext('Web terminal (ttyd)'), ]; foreach ($rows as $key => $label): $p = $sc[$key]; $ok = !empty($p['available']); ?>
· :
(rev )
·
vm_source = —