]> granicus.if.org Git - php/commitdiff
Dropped case insentive ext search in PEAR::loadExtension()
authorTomas V.V.Cox <cox@php.net>
Mon, 17 Jun 2002 14:35:12 +0000 (14:35 +0000)
committerTomas V.V.Cox <cox@php.net>
Mon, 17 Jun 2002 14:35:12 +0000 (14:35 +0000)
pear/PEAR.php

index 8e97a4ce5ab2732e96f97eb1eadbbd7608b2d911..2f3d71b8ddb52e28138f6130ee5f59874b487430 100644 (file)
@@ -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;