[pLog-svn] r3083 - in plog/trunk/class: dao database

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sat Mar 18 14:48:55 GMT 2006


Author: oscar
Date: 2006-03-18 14:48:55 +0000 (Sat, 18 Mar 2006)
New Revision: 3083

Modified:
   plog/trunk/class/dao/articlecategory.class.php
   plog/trunk/class/database/db.class.php
Log:
fixed two notices


Modified: plog/trunk/class/dao/articlecategory.class.php
===================================================================
--- plog/trunk/class/dao/articlecategory.class.php	2006-03-18 13:59:47 UTC (rev 3082)
+++ plog/trunk/class/dao/articlecategory.class.php	2006-03-18 14:48:55 UTC (rev 3083)
@@ -1,6 +1,7 @@
 <?php
 
 	include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+	include_once( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
 
     /**
 	 * \ingroup DAO

Modified: plog/trunk/class/database/db.class.php
===================================================================
--- plog/trunk/class/database/db.class.php	2006-03-18 13:59:47 UTC (rev 3082)
+++ plog/trunk/class/database/db.class.php	2006-03-18 14:48:55 UTC (rev 3083)
@@ -67,7 +67,7 @@
 			if( !is_array( $dbs ))
 				$dbs = Array();
 				
-			$key = $user.$pass.$host.$dbname;
+			$key = $username.$password.$host.$dbname;
 				
 			if( !isset( $dbs[$key] )) {
                 $dbs[$key] = PDb::getDriver('mysql');



More information about the pLog-svn mailing list