aboutsummaryrefslogtreecommitdiff
path: root/www/horde-base/files
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2007-12-20 02:19:18 +0000
committerBeech Rintoul <beech@FreeBSD.org>2007-12-20 02:19:18 +0000
commita88ee5eab3c166ffafcdc6655081ea5c8c85d0bd (patch)
tree48b9c1210e4f456eed032f6951e5d2f88cba65ab /www/horde-base/files
parent76a079d2f27127fb9874fbd5cbe785ca4682a20a (diff)
Notes
Diffstat (limited to 'www/horde-base/files')
-rw-r--r--www/horde-base/files/patch-lib_Horde_NLS.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/horde-base/files/patch-lib_Horde_NLS.php b/www/horde-base/files/patch-lib_Horde_NLS.php
index 8e157c276647..4404276773d0 100644
--- a/www/horde-base/files/patch-lib_Horde_NLS.php
+++ b/www/horde-base/files/patch-lib_Horde_NLS.php
@@ -4,10 +4,10 @@
setlocale(LC_ALL, $lang_charset);
}
}
-+        /* avoid FreeBSD issapce(3) bug */
-+        if(NLS::getCharset() == "UTF-8"){
-+            setlocale(LC_CTYPE,"C");
-+        }
++ /* avoid FreeBSD issapce(3) bug */
++ if(NLS::getCharset() == "UTF-8"){
++ setlocale(LC_CTYPE,"C");
++ }
@putenv('LANG=' . $lang_charset);
@putenv('LANGUAGE=' . $lang_charset);
}