summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-16 13:33:36 -0200
committerRenato Botelho <renato@netgate.com>2015-12-16 13:33:36 -0200
commit2eb5a0bf9d69fbedc6d4e9c1b5665ce9e6396c2a (patch)
tree10931ebad5dcd5e3d64713ea2e100be5ed5c536e /src/etc/inc/pfsense-utils.inc
parent8937d77d583bf6e19b316f075ed4e09c4ab2544c (diff)
downloadpfsense-2eb5a0bf9d69fbedc6d4e9c1b5665ce9e6396c2a.zip
pfsense-2eb5a0bf9d69fbedc6d4e9c1b5665ce9e6396c2a.tar.gz
No need to set LANG env var here
Diffstat (limited to 'src/etc/inc/pfsense-utils.inc')
-rw-r--r--src/etc/inc/pfsense-utils.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc
index 41b5c7d..3a042a9 100644
--- a/src/etc/inc/pfsense-utils.inc
+++ b/src/etc/inc/pfsense-utils.inc
@@ -2737,7 +2737,6 @@ function pfSense_handle_custom_code($src_dir) {
}
function set_language($lang = 'en_US', $encoding = "UTF-8") {
- putenv("LANG={$lang}.{$encoding}");
setlocale(LC_ALL, "{$lang}.{$encoding}");
textdomain("pfSense");
bindtextdomain("pfSense", "/usr/local/share/locale");
OpenPOWER on IntegriCloud