summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-05-02 10:37:50 -0400
committerjim-p <jimp@pfsense.org>2017-05-02 10:37:50 -0400
commit81ef2065de81e089b3c017cd096eeaad3f0f91ea (patch)
treef22e572f0aa48a46e2e2c3b0f26a1ce12a2adaa6 /src/usr/local
parenta2e68d06c94642cf17694995dae9e372ad833194 (diff)
parent27db3c75aacf478d09d6f58d356001c883c9a9f7 (diff)
downloadpfsense-81ef2065de81e089b3c017cd096eeaad3f0f91ea.zip
pfsense-81ef2065de81e089b3c017cd096eeaad3f0f91ea.tar.gz
Merge pull request #3716 from phil-davis/patch-9
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/system.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index 53fbf80..0e02922 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -47,6 +47,11 @@ if (!isset($config['system']['webgui']['dashboardcolumns'])) {
$config['system']['webgui']['dashboardcolumns'] = 2;
}
+// set default language if unset
+if (!isset($config['system']['language'])) {
+ $config['system']['language'] = 'en_US';
+}
+
$dnsgw_counter = 1;
while (isset($config["system"]["dns{$dnsgw_counter}gw"])) {
OpenPOWER on IntegriCloud