diff options
author | jim-p <jimp@pfsense.org> | 2017-05-02 10:40:14 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-05-02 10:41:38 -0400 |
commit | d258e30dfa1899b67b9e8493853eba87e02b9ebb (patch) | |
tree | 64f73b853b72bee03f3fb6e14e2af09db31a967d | |
parent | 7b492a56dd0737e24cca701d344002432d7adbe7 (diff) | |
download | pfsense-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.php | 2 |
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; |