summaryrefslogtreecommitdiffstats
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:41:38 -0400
commitd258e30dfa1899b67b9e8493853eba87e02b9ebb (patch)
tree64f73b853b72bee03f3fb6e14e2af09db31a967d
parent7b492a56dd0737e24cca701d344002432d7adbe7 (diff)
downloadpfsense-d258e30dfa1899b67b9e8493853eba87e02b9ebb.zip
pfsense-d258e30dfa1899b67b9e8493853eba87e02b9ebb.tar.gz
Read default language from globals.inc instead of hardcoding (it was already defined there)
-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 166853a..26f3926 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -81,7 +81,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