From: Reini U. <ru...@us...> - 2005-02-27 12:37:25
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12666 Modified Files: SqlResult.php Log Message: update comments Index: SqlResult.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/SqlResult.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -2 -b -p -d -r1.6 -r1.7 --- SqlResult.php 27 Feb 2005 12:24:25 -0000 1.6 +++ SqlResult.php 27 Feb 2005 12:37:14 -0000 1.7 @@ -25,5 +25,5 @@ rcs_id('$Id$'); * in table form. * The database definition, the DSN, must be defined in the local file - * lib/plugin/SqlResult.ini + * config/SqlResult.ini * A simple textfile with alias = dsn lines. * @@ -140,4 +140,5 @@ extends WikiPlugin // adodb or pear? adodb as default, since we distribute per default it. // for pear there may be overrides. + // TODO: native PDO support (for now we use ADODB) if ($DBParams['dbtype'] == 'SQL') { $dbh = DB::connect($inidsn); @@ -146,5 +147,5 @@ extends WikiPlugin return $this->error($all->getMessage(). ' ' . $all->userinfo); } - } else { + } else { // unless PearDB use the included ADODB, regardless if dba, file or PDO, ... if ($DBParams['dbtype'] != 'ADODB') { // require_once('lib/WikiDB/adodb/adodb-errorhandler.inc.php'); @@ -221,4 +222,7 @@ extends WikiPlugin // $Log$ +// Revision 1.7 2005/02/27 12:37:14 rurban +// update comments +// // Revision 1.6 2005/02/27 12:24:25 rurban // prevent SqlResult.ini from being imported |