From 8f6a46663afed0c0ba967f8c0a28af3e8064319e Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 23 Jul 2009 12:14:17 +0000 Subject: - update to last commit --- program/include/rcube_shared.inc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index d5f930aaf..91db38020 100644 --- a/program/include/rcube_shared.inc +++ b/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); -- cgit v1.2.3