summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system.php
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2014-06-14 17:36:53 -0700
committerN0YB <Al_Stu@Frontier.com>2014-06-14 17:36:53 -0700
commitf1a347906c4d87e40d784accf9700cce566b6d9c (patch)
tree2b94810a3b02a0e1542a4f55faa05805bd1084db /usr/local/www/system.php
parentbc3885336de75542b9f5b53b1e8d6b3041b4a513 (diff)
downloadpfsense-f1a347906c4d87e40d784accf9700cce566b6d9c.zip
pfsense-f1a347906c4d87e40d784accf9700cce566b6d9c.tar.gz
Hostnames are not case restrictive.
Diffstat (limited to 'usr/local/www/system.php')
-rw-r--r--usr/local/www/system.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index f907de9..c5cfe52 100644
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -169,8 +169,8 @@ if ($_POST) {
}
if (!$input_errors) {
- update_if_changed("hostname", $config['system']['hostname'], strtolower($_POST['hostname']));
- update_if_changed("domain", $config['system']['domain'], strtolower($_POST['domain']));
+ update_if_changed("hostname", $config['system']['hostname'], $_POST['hostname']);
+ update_if_changed("domain", $config['system']['domain'], $_POST['domain']);
update_if_changed("timezone", $config['system']['timezone'], $_POST['timezone']);
update_if_changed("NTP servers", $config['system']['timeservers'], strtolower($_POST['timeservers']));
OpenPOWER on IntegriCloud