summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-23 12:14:17 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-23 12:14:17 +0000
commitc146945c324218c57ea2af0130945b7edbbdbe7a (patch)
tree8a138b9051fc51bba1fc957ab3a6b444b1755819 /roundcubemail/program
parentd3ce61a4e04ace77827e1cdc7f6c5860029fb6e1 (diff)
- update to last commit
git-svn-id: https://svn.roundcube.net/trunk@2789 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/include/rcube_shared.inc13
1 files changed, 2 insertions, 11 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc
index d5f930aaf..91db38020 100644
--- a/roundcubemail/program/include/rcube_shared.inc
+++ b/roundcubemail/program/include/rcube_shared.inc
@@ -616,42 +616,33 @@ function rcube_explode_quoted_string($delimiter, $string)
* mbstring replacement functions
*/
-if (!function_exists('mb_strlen')) {
+if (!extension_loaded('mbstring'))
+{
function mb_strlen($str)
{
return strlen($str);
}
-}
-if (!function_exists('mb_strtolower')) {
function mb_strtolower($str)
{
return strtolower($str);
}
-}
-if (!function_exists('mb_strtoupper')) {
function mb_strtoupper($str)
{
return strtoupper($str);
}
-}
-if (!function_exists('mb_substr')) {
function mb_substr($str, $start, $len=null)
{
return substr($str, $start, $len);
}
-}
-if (!function_exists('mb_strpos')) {
function mb_strpos($haystack, $needle, $offset=0)
{
return strpos($haystack, $needle, $offset);
}
-}
-if (!function_exists('mb_strrpos')) {
function mb_strrpos($haystack, $needle, $offset=0)
{
return strrpos($haystack, $needle, $offset);