[CS-Project-svn_notify] SF.net SVN: cs-project:[946] trunk/1.2/lib/upgradeClass.php
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-02-06 21:15:51
|
Revision: 946 http://cs-project.svn.sourceforge.net/cs-project/?rev=946&view=rev Author: crazedsanity Date: 2009-02-06 21:15:47 +0000 (Fri, 06 Feb 2009) Log Message: ----------- Fix old naming of required classes (from cs-phpxml & cs-content). /lib/upgradeClass.php: * read_upgrade_config_file(): -- changed reference from xmlParser to cs_phpxmlParser * update_config_file(): -- cs_fileSystemClass -->> cs_fileSystem -- XMLParser -->> cs_phpxmlParser -- XMLCreator -->> cs_phpxmlCreator Modified Paths: -------------- trunk/1.2/lib/upgradeClass.php Modified: trunk/1.2/lib/upgradeClass.php =================================================================== --- trunk/1.2/lib/upgradeClass.php 2009-02-06 21:06:25 UTC (rev 945) +++ trunk/1.2/lib/upgradeClass.php 2009-02-06 21:15:47 UTC (rev 946) @@ -174,7 +174,7 @@ $xmlString = $this->fsObj->read("upgrade/upgrade.xml"); //parse the file. - $xmlParser = new xmlParser($xmlString); + $xmlParser = new cs_phpxmlParser($xmlString); $config = $xmlParser->get_tree(TRUE); $this->config = $config['UPGRADE']; @@ -626,9 +626,9 @@ private function update_config_file($index, $value) { $gf = new cs_globalFunctions; $myConfigFile = CONFIG_FILE_LOCATION; - $fs = new cs_fileSystemClass(dirname(__FILE__) .'/../'); - $xmlParser = new XMLParser($fs->read($myConfigFile)); - $xmlCreator = new XMLCreator; + $fs = new cs_fileSystem(dirname(__FILE__) .'/../'); + $xmlParser = new cs_phpxmlParser($fs->read($myConfigFile)); + $xmlCreator = new cs_phpxmlCreator; $xmlCreator->load_xmlparser_data($xmlParser); //update the given index. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |