[GRASS-SVN] r33239 - grass-web/trunk

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 4 01:52:03 EDT 2008


Author: neteler
Date: 2008-09-04 01:52:02 -0400 (Thu, 04 Sep 2008)
New Revision: 33239

Modified:
   grass-web/trunk/grassmodules.php
Log:
attempt: get better randomization

Modified: grass-web/trunk/grassmodules.php
===================================================================
--- grass-web/trunk/grassmodules.php	2008-09-03 16:56:18 UTC (rev 33238)
+++ grass-web/trunk/grassmodules.php	2008-09-04 05:52:02 UTC (rev 33239)
@@ -30,7 +30,8 @@
 	}
 	
   else if($type=='day'){
-    $ra=date("z")+75;
+    //$ra=date("z")+75;
+    $ra=date("z")+$ra=rand(100,180);
     while(substr($a[$ra], 0, 27)!="<tr><td valign=top><a href="){
       $ra=date("z")+$cc;
 	  $cc++;



More information about the grass-commit mailing list