cvs: pear /DB/DB ifx.php

From: Date: Sun, 26 May 2002 14:41:27 +0000
Subject: cvs: pear /DB/DB ifx.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4097@lists.php.net to get a copy of this message
cox Sun May 26 10:41:27 2002 EDT Modified files: /pear/DB/DB ifx.php Log: Assert the extension 'Informix' in addition to 'informix' (reported by baram88@kt.co.kr) # I'm not completely sure on this, but doesn't hurt anyways) Index: pear/DB/DB/ifx.php diff -u pear/DB/DB/ifx.php:1.3 pear/DB/DB/ifx.php:1.4 --- pear/DB/DB/ifx.php:1.3 Thu May 9 08:29:53 2002 +++ pear/DB/DB/ifx.php Sun May 26 10:41:27 2002 @@ -16,7 +16,7 @@ // | Author: Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: ifx.php,v 1.3 2002/05/09 12:29:53 ssb Exp $ +// $Id: ifx.php,v 1.4 2002/05/26 14:41:27 cox Exp $ // // Database independent query interface definition for PHP's Informix // extension. @@ -74,9 +74,9 @@ */ function connect(&$dsninfo, $persistent = false) { - if (!DB::assertExtension('informix')) + if (!DB::assertExtension('informix') || !DB::assertExtension('Informix')) { return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND); - + } $this->dsn = $dsninfo; $dbhost = $dsninfo['hostspec'] ? '@' . $dsninfo['hostspec'] : ''; $dbname = $dsninfo['database'] ? $dsninfo['database'] . $dbhost : '';

« previous php.pear.cvs (#4097) next »