[Cs-content-commits] SF.net SVN: cs-content:[476] trunk/1.0/contentSystem.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2010-05-26 17:47:11
|
Revision: 476 http://cs-content.svn.sourceforge.net/cs-content/?rev=476&view=rev Author: crazedsanity Date: 2010-05-26 17:47:04 +0000 (Wed, 26 May 2010) Log Message: ----------- Minor change to quash PHP warnings. Modified Paths: -------------- trunk/1.0/contentSystem.class.php Modified: trunk/1.0/contentSystem.class.php =================================================================== --- trunk/1.0/contentSystem.class.php 2010-05-18 15:49:47 UTC (rev 475) +++ trunk/1.0/contentSystem.class.php 2010-05-26 17:47:04 UTC (rev 476) @@ -361,6 +361,7 @@ //disregard file extensions, but keep everything else... // i.e. "index.php/yermom.html" becomes "index/yermom" $tArr = split('/', $section); + $tSection = null; foreach($tArr as $tSecName) { $temp = split("\.", $tSecName); if(strlen($temp[0]) > 1) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |