gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r5121 - GNUnet-docs/WWW
Date: Fri, 22 Jun 2007 02:43:18 -0600 (MDT)

Author: grothoff
Date: 2007-06-22 02:43:17 -0600 (Fri, 22 Jun 2007)
New Revision: 5121

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

Modified: GNUnet-docs/WWW/hostlist.php
===================================================================
--- GNUnet-docs/WWW/hostlist.php        2007-06-21 09:08:35 UTC (rev 5120)
+++ GNUnet-docs/WWW/hostlist.php        2007-06-22 08:43:17 UTC (rev 5121)
@@ -4,7 +4,7 @@
 // Minor improvements by Christian Grothoff <address@hidden>
 header("Content-Type: application/octet-stream\r\n\r\n");
 $extmas = array('2','3','4','5','6','8');
-$path = '/var/lib/GNUnet/data/hosts/'; // adjust as necessary
+$path = '/home/gnunet/.gnunet/data/hosts/'; // adjust as necessary
 $dir = opendir($path);
 if (! $dir)
   die("Cannot open directory $path.\n");

Modified: GNUnet-docs/WWW/index.php
===================================================================
--- GNUnet-docs/WWW/index.php   2007-06-21 09:08:35 UTC (rev 5120)
+++ GNUnet-docs/WWW/index.php   2007-06-22 08:43:17 UTC (rev 5121)
@@ -100,8 +100,8 @@
 }
 for ($i=0;$i<$num;$i++) {
   $row = mysql_fetch_array($result);
-  $pd = convert_time($row["posted"]);
-  echo "<dt>" . $pd[0] . "-" . $pd[1] . "-" . $pd[2] .  ": " . 
W_($row["title"]) . "</dt>\n";
+  $pd = $row["posted"];
+  echo "<dt>" . strtok($pd, " ") . ": " . W_($row["title"]) . "</dt>\n";
   echo "<dd>\n";
   include("news/" . $row["include"]);
   echo "\n</dd>\n";





reply via email to

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