From d2b435eb08eb936da16226a4d2586bf4c9f685ac Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Mon, 17 Jun 2002 14:35:12 +0000 Subject: [PATCH] Dropped case insentive ext search in PEAR::loadExtension() --- pear/PEAR.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.50.1