~ubuntu-dev/ubuntu/lucid/zabbix/lucid-201002110857

« back to all changes in this revision

Viewing changes to frontends/php/include/locales.inc.php

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Haas
  • Date: 2009-10-10 12:21:16 UTC
  • mfrom: (1.1.10 upstream) (8.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091010122116-44k2zdq57rb40i6z
Tags: 1:1.6.6-2
* debian/po/ja.po updated (Closes: #548651)
* debian/po/cs.po updated (Closes: #548675)
* debian/po/sv.po updated (Closes: #548796)
* debian/po/de.po updated (Closes: #549248)
* debian/po/it.po updated (Closes: #549579)
* debian/po/pt.po updated (Closes: #550087)
* debian/po/ru.po updated (Closes: #550102)
* debian/po/es.po updated (Closes: #550173)
* debian/po/fr.po updated (Closes: #550315)
* Manpages for zabbix_server and zabbix_agent added (Closes: #496696)
* Added hint about the difference of the zabbix_agent.conf and
  zabbix_agentd.conf in each config file as a comment. (Closes: #548701)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
// HTTP input encoding translation is enabled.
30
30
        $res&= (ini_set('mbstring.encoding_translation','On') === FALSE);
31
 
        
 
31
 
32
32
// Set default character encoding detection order
33
33
        $res&= (ini_set('mbstring.detect_order','UTF-8, ISO-8859-1, JIS, SJIS') === FALSE);
34
34
 
37
37
}
38
38
 
39
39
function mbstrings_available(){
40
 
        $mbstrings_fnc_exist = 
 
40
        $mbstrings_fnc_exist =
41
41
                function_exists('mb_strlen') &&
42
42
                function_exists('mb_strtoupper') &&
43
43
                function_exists('mb_strpos') &&
47
47
                function_exists('mb_ereg_replace') &&
48
48
                function_exists('mb_eregi_replace') &&
49
49
                function_exists('mb_split');
50
 
/* This function is supported by PHP5 only 
 
50
/* This function is supported by PHP5 only
51
51
                function_exists('mb_stristr') &&
52
 
                function_exists('mb_strstr') && 
 
52
                function_exists('mb_strstr') &&
53
53
//*/
54
54
return $mbstrings_fnc_exist;
55
55
}