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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 28 15:53:35 EST 2008


Author: neteler
Date: 2008-01-28 15:53:35 -0500 (Mon, 28 Jan 2008)
New Revision: 29886

Modified:
   grass-web/trunk/index.php
Log:
shrink buffer

Modified: grass-web/trunk/index.php
===================================================================
--- grass-web/trunk/index.php	2008-01-28 16:27:34 UTC (rev 29885)
+++ grass-web/trunk/index.php	2008-01-28 20:53:35 UTC (rev 29886)
@@ -40,7 +40,7 @@
     echo "[unknown mirror country]\n";
     exit;
 }
-$line = fgets ($file, 1024);
+$line = fgets ($file, 24);
 $MYSTATETMP = explode(":", $line);
 $MYSTATE = $MYSTATETMP[1];
 echo "<font size=\"-1\"><i>You are at the official GRASS site in $MYSTATE (or



More information about the grass-commit mailing list