summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-05-02 10:40:14 -0400
committerjim-p <jimp@pfsense.org>2017-05-02 10:40:14 -0400
commit41817934f17d924049be7745f1707f7def4a2598 (patch)
treea63bf51631179908426fb5622b8b48bba36b6b72 /src
parent81ef2065de81e089b3c017cd096eeaad3f0f91ea (diff)
downloadpfsense-41817934f17d924049be7745f1707f7def4a2598.zip
pfsense-41817934f17d924049be7745f1707f7def4a2598.tar.gz
Read default language from globals.inc instead of hardcoding (it was already defined there)
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index 0e02922..2fe1b6e 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -49,7 +49,7 @@ if (!isset($config['system']['webgui']['dashboardcolumns'])) {
// set default language if unset
if (!isset($config['system']['language'])) {
- $config['system']['language'] = 'en_US';
+ $config['system']['language'] = $g['language'];
}
$dnsgw_counter = 1;
OpenPOWER on IntegriCloud