X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fimap_general.php;h=6e1b80a4376e30eea080be1ac3c9c15e5fe8983a;hp=67fe8b7f5a414898f8527519b91a2bb69c447bd7;hb=25c078d36df8088bf09609e48613abe256fbf239;hpb=f933862636dbe15ff1496a8b39ba8e352c844b2f diff --git a/functions/imap_general.php b/functions/imap_general.php index 67fe8b7f..6e1b80a4 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -114,7 +114,7 @@ $squirrelmail_language = substr($HTTP_ACCEPT_LANGUAGE, 0, 2); } - if (isset($squirrelmail_language)) { + if (isset($squirrelmail_language) && function_exists("bindtextdomain")) { if ($squirrelmail_language != "en" && $squirrelmail_language != "") { putenv("LC_ALL=".$squirrelmail_language); bindtextdomain("squirrelmail", "../locale/");