X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Flang%2Fgettext.php;h=7d26256d51a2917f28e234dfb010a11ff7c50b68;hb=95ea2a03e3ccfa59bacd3d9a47bdf6d64b7d7a60;hp=4d80c9b3b163af0b09b5013840e8700e65a2eb62;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;p=fa-stable.git diff --git a/includes/lang/gettext.php b/includes/lang/gettext.php index 4d80c9b3..7d26256d 100644 --- a/includes/lang/gettext.php +++ b/includes/lang/gettext.php @@ -104,7 +104,8 @@ class gettext_native_support */ function check_support($lang_code, $encoding) { - + if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') // don't do this test if server is WIN + return true; $old = setlocale(LC_CTYPE, '0'); // LC_MESSAGES does not exist on Win $up = strtoupper($encoding); $low = strtolower($encoding);