From f1f2e14638c138872dea0c7be1db68a078d8206d Mon Sep 17 00:00:00 2001 From: beech Date: Thu, 20 Dec 2007 02:19:18 +0000 Subject: - Fix patch-lib_Horde_NLS.php - Bump portrevision Approved by: linimon (mentor) --- www/horde4-base/files/patch-lib_Horde_NLS.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'www/horde4-base/files') diff --git a/www/horde4-base/files/patch-lib_Horde_NLS.php b/www/horde4-base/files/patch-lib_Horde_NLS.php index 8e157c276647..4404276773d0 100644 --- a/www/horde4-base/files/patch-lib_Horde_NLS.php +++ b/www/horde4-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); } -- cgit