From 5c54cc0ee6de44960bbc4cfab3d456a4805a0692 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 9 Feb 2010 10:01:07 +0000 Subject: - don't use dl(): http://pear.php.net/bugs/bug.php?id=17038 --- plugins/managesieve/lib/Net/Sieve.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/managesieve/lib') diff --git a/plugins/managesieve/lib/Net/Sieve.php b/plugins/managesieve/lib/Net/Sieve.php index be52540f4..b2549eed9 100644 --- a/plugins/managesieve/lib/Net/Sieve.php +++ b/plugins/managesieve/lib/Net/Sieve.php @@ -1169,9 +1169,7 @@ class Net_Sieve */ function _getLineLength($string) { - if (extension_loaded('mbstring') - || @dl(PHP_SHLIB_PREFIX . 'mbstring.' . PHP_SHLIB_SUFFIX) - ) { + if (extension_loaded('mbstring')) { return mb_strlen($string, 'latin1'); } else { return strlen($string); -- cgit v1.2.3