From: Reini U. <ru...@us...> - 2004-07-08 15:35:25
|
Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12230 Modified Files: SQL.php Log Message: renamed the four PearDB backends to have a PearDB_ prefix, to be consistent with the ADODB backend. (files and classnames) Index: SQL.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/SQL.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -2 -b -p -d -r1.7 -r1.8 --- SQL.php 8 Jul 2004 11:12:49 -0000 1.7 +++ SQL.php 8 Jul 2004 15:35:16 -0000 1.8 @@ -16,7 +16,6 @@ class WikiDB_SQL extends WikiDB elseif (preg_match('/^(\w+):/', $dbparams['dsn'], $m)) $backend_type = $m[1]; - include_once ("lib/WikiDB/backend/$backend_type.php"); - //include_once ("lib/WikiDB/backend/PearDB_$backend_type.php"); - $backend_class = "WikiDB_backend_$backend_type"; + include_once ("lib/WikiDB/backend/PearDB_".$backend_type.".php"); + $backend_class = "WikiDB_backend_PearDB_".$backend_type; $backend = & new $backend_class($dbparams); |