cvs: php4 /pear PEAR.php
| From: | Tomas V.V.Cox | Date: | Mon, 17 Jun 2002 14:35:14 +0000 |
| Subject: | cvs: php4 /pear PEAR.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4665@lists.php.net to get a copy of this message | ||
cox Mon Jun 17 10:35:14 2002 EDT
Modified files:
/php4/pear PEAR.php
Log:
Dropped case insentive ext search in PEAR::loadExtension()
Index: php4/pear/PEAR.php
diff -u php4/pear/PEAR.php:1.44 php4/pear/PEAR.php:1.45
--- php4/pear/PEAR.php:1.44 Mon Jun 17 10:04:01 2002
+++ php4/pear/PEAR.php Mon Jun 17 10:35:12 2002
@@ -18,7 +18,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: PEAR.php,v 1.44 2002/06/17 14:04:01 cox Exp $
+// $Id: PEAR.php,v 1.45 2002/06/17 14:35:12 cox Exp $
//
define('PEAR_ERROR_RETURN', 1);
@@ -570,7 +570,8 @@
// {{{ 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 @@
} else {
$suffix = '.so';
}
- $ext = strtolower($ext);
return @dl('php_'.$ext.$suffix) || @dl($ext.$suffix);
}
return true;