[feladat @ 117]
authorpeter
Tue, 29 Jan 2008 21:32:48 +0000
changeset 70 47248e2af079
parent 69 025700cc92cd
child 71 e1b918eaf69a
[feladat @ 117] Fixed a bug reported by Balazs Petrikovics. i18n doesn't work correctly on FreeBSD.
inc/i18n.inc.php
--- a/inc/i18n.inc.php	Tue Jan 08 20:20:10 2008 +0000
+++ b/inc/i18n.inc.php	Tue Jan 29 21:32:48 2008 +0000
@@ -26,5 +26,6 @@
 $gettext_domain = 'messages';
 bindtextdomain($gettext_domain, "./locale");
 textdomain($gettext_domain);
-
+@putenv('LANG='.$language);
+@putenv('LANGUAGE='.$language);
 ?>