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

reto at devel.lifetype.net reto at devel.lifetype.net
Thu Feb 1 17:24:56 EST 2007


Author: reto
Date: 2007-02-01 17:24:56 -0500 (Thu, 01 Feb 2007)
New Revision: 4658

Modified:
   plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php
Log:
'default' is not a regular template folder and should be excluded



Modified: plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php	2007-02-01 22:10:05 UTC (rev 4657)
+++ plog/branches/lifetype-1.2/class/template/templatesets/templatefinder.class.php	2007-02-01 22:24:56 UTC (rev 4658)
@@ -44,7 +44,7 @@
 			// 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 considered an additional template!!
-			$ignoreRegexp = '/(rss|wizard|summary|misc|admin|blog_[0-9]*|^\..+)$/i';
+			$ignoreRegexp = '/(default|rss|wizard|summary|misc|admin|blog_[0-9]*|^\..+)$/i';
 			
 			// get base name from the current full path
 			$fileKey = basename( $fileName );
@@ -74,4 +74,4 @@
 			return( $this->getNew());
 		}
 	}
-?>
\ No newline at end of file
+?>



More information about the pLog-svn mailing list