I subscribe to the squirrelmail-users mailing list. [ ] True - No need to CC me when replying [x] False - Please CC me when replying
This bug occurs when I try to setup Russian language in a safe mode The description of the bug: I have FreeBSD 5.2.1. Unicode locales are added and work correctly. When php is not in the safe mode Russian language work w/o problems. But in a safe mode all mewssages are in english. I can reproduce the bug by: Installing program and turn safe mode on (Optional) I got really bored and here's a fix: i found, that i18n.php contain this code: if ( !ini_get('safe_mode') && getenv( 'LC_ALL' ) != $longlocale ) { putenv( "LC_ALL=$longlocale" ); putenv( "LANG=$longlocale" ); putenv( "LANGUAGE=$longlocale" ); } so, i add this line to my php.ini: safe_mode_allowed_env_vars = LC_ALL,LANG,LANGUAGE,PHP_ and comment out safe mode checking string (!ini_get('safe_mode')). Now all work fine. ---------------------------------------------- My browser information: Mozilla/5.0 (X11; U; FreeBSD 5.2.1 i686; en-US; rv:1.7) Gecko/20040618 My web server information: PHP Version 4.3.8 PHP Extensions (List) * 0 = standard * 1 = apache2handler * 2 = bz2 * 3 = calendar * 4 = ctype * 5 = curl * 6 = exif * 7 = ftp * 8 = gd * 9 = gettext * 10 = iconv * 11 = mysql * 12 = overload * 13 = pcre * 14 = pdf * 15 = session * 16 = tokenizer * 17 = xml * 18 = zlib SquirrelMail-specific information: Version: 1.4.3a Plugins (List) * 0 = calendar * 1 = info * 2 = bug_report My IMAP server information: Server type: cyrus Server info: * OK [HIDDEN] IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information. Capabilities: IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users