From: Tomas V.V.Cox Date: Mon, 17 Jun 2002 14:35:12 +0000 (+0000) Subject: Dropped case insentive ext search in PEAR::loadExtension() X-Git-Tag: php-4.3.0dev_zend2_alpha2~223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2b435eb08eb936da16226a4d2586bf4c9f685ac;p=php Dropped case insentive ext search in PEAR::loadExtension() --- diff --git a/pear/PEAR.php b/pear/PEAR.php index 8e97a4ce5a..2f3d71b8dd 100644 --- a/pear/PEAR.php +++ b/pear/PEAR.php @@ -570,7 +570,8 @@ class PEAR // {{{ loadExtension() /** - * OS independant PHP extension load + * OS independant PHP extension load. Remember to take care + * on the correct extension name for case sensitive OSes. * * @param string $ext The extension name * @return bool Success or not on the dl() call @@ -589,7 +590,6 @@ class PEAR } else { $suffix = '.so'; } - $ext = strtolower($ext); return @dl('php_'.$ext.$suffix) || @dl($ext.$suffix); } return true;