cvs: pear /DB/DB ifx.php
| From: | Martin Jansen | Date: | Fri, 03 Jan 2003 12:04:11 +0000 |
| Subject: | cvs: pear /DB/DB ifx.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8064@lists.php.net to get a copy of this message | ||
mj Fri Jan 3 07:04:11 2003 EDT
Modified files:
/pear/DB/DB ifx.php
Log:
* Only "Informix" *or* "informix" are needed.
This patch partially fixes bug #21186.
Index: pear/DB/DB/ifx.php
diff -u pear/DB/DB/ifx.php:1.5 pear/DB/DB/ifx.php:1.6
--- pear/DB/DB/ifx.php:1.5 Tue Aug 6 14:13:17 2002
+++ pear/DB/DB/ifx.php Fri Jan 3 07:04:10 2003
@@ -16,7 +16,7 @@
// | Author: Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: ifx.php,v 1.5 2002/08/06 18:13:17 cox Exp $
+// $Id: ifx.php,v 1.6 2003/01/03 12:04:10 mj Exp $
//
// Database independent query interface definition for PHP's Informix
// extension.
@@ -74,7 +74,7 @@
*/
function connect(&$dsninfo, $persistent = false)
{
- if (!DB::assertExtension('informix') ||
!DB::assertExtension('Informix')) {
+ if (!DB::assertExtension('informix') &&
!DB::assertExtension('Informix')) {
return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND);
}
$this->dsn = $dsninfo;