CVS update: /cowiki/includes/cowiki/class/dao/

[email protected] 3 May 2005 00:44:57 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 2005/05/02 17:44:57

Modified:
   cowiki/includes/cowiki/class/dao/class.StorageMySQLi.php

Log:
 Remember host, port, user and pass

File Changes:

Directory: /cowiki/includes/cowiki/class/dao/
=============================================

File [changed]: class.StorageMySQLi.php
Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/dao/class.StorageMySQLi.php?r1=1.10&r2=1.11
Delta lines:  +11 -2
--------------------
--- class.StorageMySQLi.php	2 May 2005 23:27:56 -0000	1.10
+++ class.StorageMySQLi.php	3 May 2005 00:44:55 -0000	1.11
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.StorageMySQLi.php,v 1.10 2005/05/02 23:27:56 dgorski Exp $
+ * $Id: class.StorageMySQLi.php,v 1.11 2005/05/03 00:44:55 dgorski Exp $
  *
  * This file is part of coWiki. coWiki is free software under the terms of
  * the GNU General Public License (GPL). Read the LICENSE file. If you did
@@ -17,7 +17,7 @@
  * @author      Daniel T. Gorski, <[email protected]>
  * @copyright   (C) Daniel T. Gorski, {@link http://www.develnet.org}
  * @license     http://www.gnu.org/licenses/gpl.html
- * @version     $Revision: 1.10 $
+ * @version     $Revision: 1.11 $
  *
  */
 
@@ -96,6 +96,12 @@
                 mysqli_connect_error()
             );
         }
+
+        // Remember
+        $this->sHost = $sHost;
+        $this->sPort = $sPort;
+        $this->sUser = $sUser;
+        $this->sPass = $sPass;
     }
 
     // --------------------------------------------------------------------
@@ -128,6 +134,9 @@
                 mysqli_error($this->rLink)
             );
         }
+
+        // Remember
+        $this->sDb = $sDatabase;
     }
 
     // --------------------------------------------------------------------