Changeset 130 in subversion for trunk/roundcubemail/program/include/main.inc
- Timestamp:
- Feb 4, 2006 2:08:10 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/include/main.inc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/main.inc
r114 r130 72 72 // we can use the database for storing session data 73 73 // session queries do not work with MDB2 74 if ($CONFIG['db_backend']!='mdb2' && is_object($DB) /* && $DB->db_provider!='sqlite' */)74 if ($CONFIG['db_backend']!='mdb2' && is_object($DB)) 75 75 include_once('include/session.inc'); 76 76 … … 710 710 711 711 // convert charset using iconv module 712 if ( function_exists('iconv') && $from!='UTF-7' && $to!='UTF-7') {712 if (0 && function_exists('iconv') && $from!='UTF-7' && $to!='UTF-7') { 713 713 return iconv($from, $to, $str); 714 714 } 715 715 716 $conv = new utf8(); 717 716 718 // convert string to UTF-8 717 719 if ($from=='UTF-7') … … 721 723 else if ($from!='UTF-8') 722 724 { 723 $conv = new utf8($from);725 $conv->loadCharset($from); 724 726 $str = $conv->strToUtf8($str); 725 727 } … … 732 734 else if ($to!='UTF-8') 733 735 { 734 $conv = new utf8($to);736 $conv->loadCharset($to); 735 737 return $conv->utf8ToStr($str); 736 738 } … … 961 963 'messages' => 'rcmail_message_list', 962 964 'messagecountdisplay' => 'rcmail_messagecount_display', 965 'quotadisplay' => 'rcmail_quota_display', 963 966 'messageheaders' => 'rcmail_message_headers', 964 967 'messagebody' => 'rcmail_message_body',
Note: See TracChangeset
for help on using the changeset viewer.
