[Cs-content-commits] SF.net SVN: cs-content:[388] trunk/1.0/contentSystem.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-06-08 03:49:38
|
Revision: 388 http://cs-content.svn.sourceforge.net/cs-content/?rev=388&view=rev Author: crazedsanity Date: 2009-06-08 03:49:30 +0000 (Mon, 08 Jun 2009) Log Message: ----------- Fix add_template() to not care about the index file anymore... /contentSystem.class.php: * add_template(): -- ARG CHANGE: DELETED ARG: #3 ($allowIndex=false) -- no longer checks anything when adding a template. -- NOTE: the implementation of only allowing index at certain times was broken. More refining of the system needs to be done, I think. Modified Paths: -------------- trunk/1.0/contentSystem.class.php Property Changed: ---------------- trunk/1.0/contentSystem.class.php Modified: trunk/1.0/contentSystem.class.php =================================================================== --- trunk/1.0/contentSystem.class.php 2009-06-04 15:11:11 UTC (rev 387) +++ trunk/1.0/contentSystem.class.php 2009-06-08 03:49:30 UTC (rev 388) @@ -920,13 +920,8 @@ //------------------------------------------------------------------------ - private final function add_template($var, $file, $allowIndex=false) { - if($var == 'index' && $allowIndex !== true) { - //$this->gfObj->debug_print(__METHOD__ .": set index invalidly (". $file ."), IGNORED"); - } - else { - $this->templateList[$var] = $file; - } + private final function add_template($var, $file) { + $this->templateList[$var] = $file; }//end add_template() //------------------------------------------------------------------------ Property changes on: trunk/1.0/contentSystem.class.php ___________________________________________________________________ Deleted: svn:mergeinfo - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |