[pLog-svn] r3374 - plog/trunk/class/database/pdb/drivers
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Wed May 10 14:02:59 GMT 2006
Author: oscar
Date: 2006-05-10 14:02:57 +0000 (Wed, 10 May 2006)
New Revision: 3374
Modified:
plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php
Log:
I never meant to lowercase the whole path, and this is causing problems for users who have uppercase characters in their PLOG_CLASS_PATH... There might be other like this hidden in the code.
Modified: plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php
===================================================================
--- plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php 2006-05-09 20:23:41 UTC (rev 3373)
+++ plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php 2006-05-10 14:02:57 UTC (rev 3374)
@@ -287,7 +287,7 @@
*/
function &getDriverDataDictionary( $driverName )
{
- $dataDictPath = PLOG_CLASS_PATH."class/database/pdb/datadict/pdb{$driverName}datadict.class.php";
+ $dataDictPath = PLOG_CLASS_PATH."class/database/pdb/datadict/pdb".strtolower($driverName)."datadict.class.php";
// check if the driver exists at all
if( !is_readable( $dataDictPath )) {
@@ -297,7 +297,7 @@
//print( "Loading datadict driver $dataDictPath...<br/>" );
- include_once( strtolower($dataDictPath));
+ include_once( $dataDictPath );
$className = "PDb{$driverName}DataDict";
$class =& new $className();
More information about the pLog-svn
mailing list