Changeset 2060 in subversion


Ignore:
Timestamp:
Nov 16, 2008 3:53:10 AM (5 years ago)
Author:
alec
Message:
  • Fix setting locale to tr_TR, ku and az_AZ (#1485470)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r2053 r2060  
    55---------- 
    66- Fix big memory consumption and speed up searching on servers without SORT capability 
     7- Fix setting locale to tr_TR, ku and az_AZ (#1485470)  
    78 
    892008/11/12 (alec) 
  • trunk/roundcubemail/program/include/rcmail.php

    r2013 r2060  
    172172    // set localization 
    173173    setlocale(LC_ALL, $_SESSION['language'] . '.utf8', 'en_US.utf8'); 
     174 
     175    // workaround for http://bugs.php.net/bug.php?id=18556  
     176    if (in_array($_SESSION['language'], array('tr_TR', 'ku', 'az_AZ')))  
     177      setlocale(LC_CTYPE, 'en_US' . '.utf8');  
    174178  } 
    175179   
Note: See TracChangeset for help on using the changeset viewer.