[pLog-svn] r4058 - plog/branches/lifetype-1.1.1/class/summary/dao

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Sep 27 19:33:01 GMT 2006


Author: oscar
Date: 2006-09-27 19:33:01 +0000 (Wed, 27 Sep 2006)
New Revision: 4058

Modified:
   plog/branches/lifetype-1.1.1/class/summary/dao/summarystatsconstants.class.php
Log:
increased the time window from 7 to 30 days, and added an informative comment for those who would like to mess around wtih this value


Modified: plog/branches/lifetype-1.1.1/class/summary/dao/summarystatsconstants.class.php
===================================================================
--- plog/branches/lifetype-1.1.1/class/summary/dao/summarystatsconstants.class.php	2006-09-27 19:15:30 UTC (rev 4057)
+++ plog/branches/lifetype-1.1.1/class/summary/dao/summarystatsconstants.class.php	2006-09-27 19:33:01 UTC (rev 4058)
@@ -7,7 +7,9 @@
 	define( "ALL_GLOBAL_ARTICLE_CATEGORIES", 0 );
 	
 	/**
-	 *
+	 * By default show posts from the last 30 days, but please edit this constant
+ 	 * should you wish to display older data. Just bear in mind that the bigger this
+ 	 * figure, the bigger the performance hit on your database will be.
 	 */
-	define( "SUMMARY_DEFAULT_TIME_FENCE", 7 );
+	define( "SUMMARY_DEFAULT_TIME_FENCE", 30 );
 ?>
\ No newline at end of file



More information about the pLog-svn mailing list