summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dnsmasq_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/services_dnsmasq_edit.php')
-rw-r--r--src/usr/local/www/services_dnsmasq_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dnsmasq_edit.php b/src/usr/local/www/services_dnsmasq_edit.php
index f9513d9..ec3e468 100644
--- a/src/usr/local/www/services_dnsmasq_edit.php
+++ b/src/usr/local/www/services_dnsmasq_edit.php
@@ -210,7 +210,7 @@ include("head.inc");
if ($input_errors)
print_input_errors($input_errors);
-require('classes/Form.class.php');
+require_once('classes/Form.class.php');
$form = new Form();
@@ -220,7 +220,7 @@ $section->addInput(new Form_Input(
'host',
'Host',
'text',
- $pconfig['domain']
+ $pconfig['host']
))->setHelp('Name of the host, without the domain part' . '<br />' .
'e.g.: "myhost"');
OpenPOWER on IntegriCloud