diff options
author | Warren Baker <warren@decoy.co.za> | 2012-04-05 17:14:16 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2012-04-05 17:14:16 +0200 |
commit | 7839ec183ac74bd558ecd69744086e58798ee1ba (patch) | |
tree | 81659372f89ea5c3d0026847d1c46e7f9fdff208 /usr/local/www/services_unbound.php | |
parent | ac2cfab290cace76bfcb348732fcfc9b94a40d6e (diff) | |
download | pfsense-7839ec183ac74bd558ecd69744086e58798ee1ba.zip pfsense-7839ec183ac74bd558ecd69744086e58798ee1ba.tar.gz |
Remove custom options from basic settings page
Diffstat (limited to 'usr/local/www/services_unbound.php')
-rw-r--r-- | usr/local/www/services_unbound.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php index dfec10f..213c2b9 100644 --- a/usr/local/www/services_unbound.php +++ b/usr/local/www/services_unbound.php @@ -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 |