[Cs-webapplibs-commits] SF.net SVN: cs-webapplibs:[153] trunk/0.3/cs_webdbupgrade.class.php
Status: Beta
Brought to you by:
crazedsanity
|
From: <cra...@us...> - 2009-09-21 15:52:58
|
Revision: 153
http://cs-webapplibs.svn.sourceforge.net/cs-webapplibs/?rev=153&view=rev
Author: crazedsanity
Date: 2009-09-21 15:52:46 +0000 (Mon, 21 Sep 2009)
Log Message:
-----------
Set version file location in cs_webdbupgrade::__construct() to avoid errors.
Modified Paths:
--------------
trunk/0.3/cs_webdbupgrade.class.php
Modified: trunk/0.3/cs_webdbupgrade.class.php
===================================================================
--- trunk/0.3/cs_webdbupgrade.class.php 2009-09-21 15:51:40 UTC (rev 152)
+++ trunk/0.3/cs_webdbupgrade.class.php 2009-09-21 15:52:46 UTC (rev 153)
@@ -69,6 +69,7 @@
public function __construct($versionFileLocation, $upgradeConfigFile, array $dbParams=null, $lockFile='upgrade.lock') {
//setup configuration parameters for database connectivity.
+ $this->set_version_file_location(dirname(__FILE__) .'/VERSION');
if(!is_array($dbParams) || !count($dbParams)) {
$prefix = preg_replace('/-/', '_', $this->get_project());
$dbParams = array(
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|