[Cs-content-commits] SF.net SVN: cs-content:[427] trunk/1.0/contentSystem.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-08-09 23:20:16
|
Revision: 427 http://cs-content.svn.sourceforge.net/cs-content/?rev=427&view=rev Author: crazedsanity Date: 2009-08-09 23:20:09 +0000 (Sun, 09 Aug 2009) Log Message: ----------- Fix inclusion of "index.inc" script. /contentSystem.class.php: * load_includes(): -- cd() into the full section, instead of using finalSection (which is sometimes blank, apparently). Modified Paths: -------------- trunk/1.0/contentSystem.class.php Modified: trunk/1.0/contentSystem.class.php =================================================================== --- trunk/1.0/contentSystem.class.php 2009-08-09 22:18:34 UTC (rev 426) +++ trunk/1.0/contentSystem.class.php 2009-08-09 23:20:09 UTC (rev 427) @@ -669,7 +669,7 @@ } //include the final shared & index files. - if($this->incFs->cd($this->finalSection)) { + if($this->incFs->cd('/'. $this->section)) { $lsData = $this->incFs->ls(); if(isset($lsData['shared.inc']) && is_array($lsData['shared.inc'])) { $this->add_include('shared.inc'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |