mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove custom options from basic settings page
This commit is contained in:
parent
ac2cfab290
commit
7839ec183a
@ -53,7 +53,6 @@ $pconfig['forwarding'] = isset($config['unbound']['forwarding']);
|
||||
$pconfig['regdhcp'] = isset($config['unbound']['regdhcp']);
|
||||
$pconfig['regdhcpstatic'] = isset($config['unbound']['regdhcpstatic']);
|
||||
$pconfig['dhcpfirst'] = isset($config['unbound']['dhcpfirst']);
|
||||
$pconfig['custom_options'] = $config['unbound']['custom_options'];
|
||||
|
||||
if(!is_array($config['unbound']))
|
||||
$config['unbound'] = array();
|
||||
@ -84,7 +83,6 @@ if ($_POST) {
|
||||
$a_unboundcfg['regdhcp'] = ($_POST['regdhcp']) ? true : false;
|
||||
$a_unboundcfg['regdhcpstatic'] = ($_POST['regdhcpstatic']) ? true : false;
|
||||
$a_unboundcfg['dhcpfirst'] = ($_POST['dhcpfirst']) ? true : false;
|
||||
$a_unboundcfg['custom_options'] = str_replace("\r\n", "\n", $_POST['custom_options']);
|
||||
if (is_array($_POST['active_interface']))
|
||||
$a_unboundcfg['active_interface'] = implode(",", $_POST['active_interface']);
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user