[Cs-content-commits] SF.net SVN: cs-content:[323] trunk/0.10/cs_siteConfig.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-01-26 00:35:17
|
Revision: 323 http://cs-content.svn.sourceforge.net/cs-content/?rev=323&view=rev Author: crazedsanity Date: 2009-01-26 00:35:14 +0000 (Mon, 26 Jan 2009) Log Message: ----------- Fix includes to point to new phpxml libraries. /cs_siteConfig.class.php: * MAIN::: -- fix path to cs_phpxmlParser{} and cs_phpxmlBuilder{} Modified Paths: -------------- trunk/0.10/cs_siteConfig.class.php Modified: trunk/0.10/cs_siteConfig.class.php =================================================================== --- trunk/0.10/cs_siteConfig.class.php 2009-01-22 20:07:22 UTC (rev 322) +++ trunk/0.10/cs_siteConfig.class.php 2009-01-26 00:35:14 UTC (rev 323) @@ -17,8 +17,8 @@ require_once(dirname(__FILE__) .'/cs_globalFunctions.php'); require_once(dirname(__FILE__) .'/cs_fileSystemClass.php'); -require_once(dirname(__FILE__). '/../cs-phpxml/xmlParserClass.php'); -require_once(dirname(__FILE__) .'/../cs-phpxml/xmlBuilderClass.php'); +require_once(dirname(__FILE__). '/../cs-phpxml/cs_phpxmlParser.class.php'); +require_once(dirname(__FILE__) .'/../cs-phpxml/cs_phpxmlBuilder.class.php'); class cs_siteConfig { @@ -48,7 +48,7 @@ /** The FULL configuration file, instead of just the active section. */ private $fullConfig=array(); - /** arrayToPath{} object. */ + /** cs_arrayToPath{} object. */ private $a2p; /** Prefix to add to every index in GLOBALS and CONSTANTS. */ @@ -85,7 +85,7 @@ $this->configDirname = dirname($configFileLocation); $this->fs = new cs_fileSystemClass($this->configDirname); - $this->xmlReader = new XMLParser($this->fs->read($configFileLocation)); + $this->xmlReader = new cs_phpxmlParser($this->fs->read($configFileLocation)); if($this->fs->is_writable($configFileLocation)) { $this->readOnly = false; @@ -204,7 +204,7 @@ } } } - $this->a2p = new arrayToPath($data); + $this->a2p = new cs_arrayToPath($data); $this->isInitialized=true; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |