Revision: 154
http://cs-webapplibs.svn.sourceforge.net/cs-webapplibs/?rev=154&view=rev
Author: crazedsanity
Date: 2009-09-29 16:12:49 +0000 (Tue, 29 Sep 2009)
Log Message:
-----------
Pass database parameters to webdblogger from database object.
/cs_webdblogger.class.php:
* __construct():
-- when $checkForUpgrades is true, pass $db->connectParams to the call
for creating a new cs_webdbupgrade{} object.
Modified Paths:
--------------
trunk/0.3/cs_webdblogger.class.php
Modified: trunk/0.3/cs_webdblogger.class.php
===================================================================
--- trunk/0.3/cs_webdblogger.class.php 2009-09-21 15:52:46 UTC (rev 153)
+++ trunk/0.3/cs_webdblogger.class.php 2009-09-29 16:12:49 UTC (rev 154)
@@ -102,7 +102,7 @@
//see if there's an upgrade to perform...
if($checkForUpgrades === true) {
$this->suspendLogging = true;
- $upgObj = new cs_webdbupgrade(dirname(__FILE__) . '/VERSION', dirname(__FILE__) .'/upgrades/upgrade.xml');
+ $upgObj = new cs_webdbupgrade(dirname(__FILE__) . '/VERSION', dirname(__FILE__) .'/upgrades/upgrade.xml', $db->connectParams);
$upgObj->check_versions(true);
$this->suspendLogging = false;
$this->handle_suspended_logs();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|