gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r605 - i18nHTML-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r605 - i18nHTML-docs/WWW
Date: Mon, 4 Apr 2005 01:06:27 -0700 (PDT)

Author: grothoff
Date: 2005-04-04 01:06:26 -0700 (Mon, 04 Apr 2005)
New Revision: 605

Modified:
   i18nHTML-docs/WWW/i18nhtml.inc
   i18nHTML-docs/WWW/i18nhtml_config.inc
Log:
depopulate

Modified: i18nHTML-docs/WWW/i18nhtml.inc
===================================================================
--- i18nHTML-docs/WWW/i18nhtml.inc      2005-04-04 08:06:08 UTC (rev 604)
+++ i18nHTML-docs/WWW/i18nhtml.inc      2005-04-04 08:06:26 UTC (rev 605)
@@ -700,7 +700,7 @@
 
 
 
-$fp = fopen($i18nHTMLclone, "w", 0);
+//$fp = fopen($i18nHTMLclone, "w", 0);
       
 
 
@@ -721,7 +721,7 @@
   global $lang;
   global $i18nHTMLrecordMode;
   global $i18nHTMLhasTranslation;
-  global $i18nHTMLclone;
+//  global $i18nHTMLclone;
   
   $i18nHTMLhasTranslation = 1; // assume translation until failure
 
@@ -750,7 +750,7 @@
         mysql_query($query, $connection);
       }
     }
-    if ($i18nHTMLclone) {
+/*    if ($i18nHTMLclone) {
       global $fp;
       $query = "SELECT * FROM map WHERE name=\"$u\" ORDER BY ranking DESC";
       $result = mysql_query($query, $connection);
@@ -768,7 +768,7 @@
          fputs($fp, "INSERT INTO map VALUES(\"$u\", \"$last\", \"$trans\", 
$rank, \"$ip\");\n");
        }
       }
-    }
+    } */
 
     return fix($a);
   }

Modified: i18nHTML-docs/WWW/i18nhtml_config.inc
===================================================================
--- i18nHTML-docs/WWW/i18nhtml_config.inc       2005-04-04 08:06:08 UTC (rev 
604)
+++ i18nHTML-docs/WWW/i18nhtml_config.inc       2005-04-04 08:06:26 UTC (rev 
605)
@@ -1,6 +1,6 @@
 <?php
 /*
-     (C) 2003, 2004 Christian Grothoff
+     (C) 2003, 2004, 2005 Christian Grothoff
 
      This code is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -24,12 +24,18 @@
 $i18nHTMLrecordMode = 2; // 1: only missing, 2: everything, 0: disable
 
 $i18nHTMLsqlServer = "localhost";
-$i18nHTMLsqlUser = "GNUnetWWW";
-$i18nHTMLsqlPass = "garlic";
+$i18nHTMLsqlUser = "i18nHTML";
+$i18nHTMLsqlPass = "pass";
 
-$i18nHTMLsqlDB = "translations"; // default is "translation"
+$i18nHTMLsqlDB = "translation"; // default is "translation"
 $i18nHTMLbase = "";  // base directory prepended to i18nHTML php pages used in 
links
 $i18nHTMLmarker = "*";  // default value if never changed
 
-$i18nHTMLclone = "/tmp/cloneFile.sql";
+// Note that if you enable debug, the scripts may print
+// warnings even if everything is ok!
+$i18nHTMLdebug = 0; // 0 = no, 1 = yes
+
+// for selectively cloning a DB
+//  $i18nHTMLclone = "/tmp/cloneFile.sql";
+
 ?>





reply via email to

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