gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r2627 - GNUnet-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r2627 - GNUnet-docs/WWW
Date: Sat, 22 Apr 2006 08:06:37 -0700 (PDT)

Author: grothoff
Date: 2006-04-22 08:06:36 -0700 (Sat, 22 Apr 2006)
New Revision: 2627

Modified:
   GNUnet-docs/WWW/hostlist.php
Log:
fix

Modified: GNUnet-docs/WWW/hostlist.php
===================================================================
--- GNUnet-docs/WWW/hostlist.php        2006-04-22 15:04:34 UTC (rev 2626)
+++ GNUnet-docs/WWW/hostlist.php        2006-04-22 15:06:36 UTC (rev 2627)
@@ -9,15 +9,13 @@
 if (! $dir)
   die("Cannot open directory $path.\n");
 $mas = array();
-while ($fname = readdir($dir)) {
+while ($fname = readdir($dir)) 
   if (is_file($path . '/' . $fname)) {
     $dpo = strpos($fname, '.') + 1;
     $len = strlen($fname);
-    if (in_array(substr($fname, $dpo - $len, $extmas)) {
+    if (in_array(substr($fname, $dpo - $len, $extmas))) 
       $mas[] = $fname;
-    }
   }
-}
 shuffle($mas); // randomize order
 foreach ($mas as $val) 
   echo file_get_contents($val);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]