[pLog-svn] r6320 - plog/branches/lifetype-1.2/class/template/templatesets

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Apr 28 08:22:37 EDT 2008


Author: jondaley
Date: 2008-04-28 08:22:37 -0400 (Mon, 28 Apr 2008)
New Revision: 6320

Modified:
   plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php
Log:
ignore the LifeType folder

Modified: plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php	2008-04-28 12:14:45 UTC (rev 6319)
+++ plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php	2008-04-28 12:22:37 UTC (rev 6320)
@@ -42,9 +42,9 @@
 		function getKeyForFile( $fileName )
 		{
 			// regular expression that determines which files should be ignored. This should
-			// be updated every time we add a new folder to the templates/ folder that shoulnd't
+			// be updated every time we add a new folder to the templates/ folder that shouldn't
 			// be considered an additional template!!
-			$ignoreRegexp = '/(default|rss|wizard|summary|misc|admin|blog_[0-9]*|^\..+)$/i';
+			$ignoreRegexp = '/(LifeType|default|rss|wizard|summary|misc|admin|blog_[0-9]*|^\..+)$/i';
 			
 			// get base name from the current full path
 			$fileKey = basename( $fileName );



More information about the pLog-svn mailing list