cvs: pear /MDB MDB.php

From: Date: Fri, 17 Jan 2003 23:01:20 +0000
Subject: cvs: pear /MDB MDB.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8350@lists.php.net to get a copy of this message
lsmith Fri Jan 17 18:01:20 2003 EDT Modified files: /pear/MDB MDB.php Log: typo fix and readded a few warning suppressors that got killed accidentaly with last commit Index: pear/MDB/MDB.php diff -u pear/MDB/MDB.php:1.45 pear/MDB/MDB.php:1.46 --- pear/MDB/MDB.php:1.45 Fri Jan 17 08:29:19 2003 +++ pear/MDB/MDB.php Fri Jan 17 18:01:20 2003 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: MDB.php,v 1.45 2003/01/17 13:29:19 lsmith Exp $ +// $Id: MDB.php,v 1.46 2003/01/17 23:01:20 lsmith Exp $ // require_once 'PEAR.php'; @@ -210,7 +210,7 @@ * MDB_Manager This class handles the xml schema management. * * @package MDB - * @version $Id: MDB.php,v 1.45 2003/01/17 13:29:19 lsmith Exp $ + * @version $Id: MDB.php,v 1.46 2003/01/17 23:01:20 lsmith Exp $ * @category Database * @author Lukas Smith <smith@backendmedia.com> */ @@ -288,7 +288,7 @@ // expose php errors with sufficient debug level include_once $include; } else { - include_once $include; + @include_once $include; } if (!class_exists($class_name)) { @@ -297,13 +297,13 @@ 'MDB_Error', TRUE); } - $db =& new $class_name($dsninfo, $options); + @$db =& new $class_name($dsninfo, $options); if(!MDB::isError($db) && isset($dsninfo['database'])) { $db->setDatabase($dsninfo['database']); $err = $db->connect(); if (MDB::isError($err)) { - $dsn = $db->getDSN; + $dsn = $db->getDSN(); $err->addUserInfo($dsn); return $err; }

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