Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
allow Creation of gettext only with password, because it causes high cpu-usage.
allo032b3fdd943c
diff --git a/htroot/Gettext.html b/htroot/Gettext_p.htmlsimilarity index 83%rename from htroot/Gettext.htmlrename to htroot/Gettext_p.htmlindex 4e8860087..417932523 100644--- a/htroot/Gettext.html+++ b/htroot/Gettext_p.html@@ -8,8 +8,8 @@<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">#%env/templates/header.template%#<h2>Gettext Locales</h2>- <a href="Gettext.html?mode=1">Get empty gettext file</a>- <form action="Gettext.html" method="GET">+ <a href="Gettext_p.html?mode=1">Get empty gettext file</a>+ <form action="Gettext_p.html" method="GET"><input type="hidden" name="mode" value="1">old file: <input type="text" name="oldfile" value="DATA/LOCALE"><input type="submit" value="get updated file">diff --git a/htroot/Gettext.java b/htroot/Gettext_p.javasimilarity index 98%rename from htroot/Gettext.javarename to htroot/Gettext_p.javaindex b687cf5cb..1638ccfe1 100644--- a/htroot/Gettext.java+++ b/htroot/Gettext_p.java@@ -1,15 +1,4 @@-import java.io.File;-import java.io.FileNotFoundException;-import java.util.ArrayList;-import java.util.Iterator;-import java.util.Map;--import de.anomic.data.gettext;-import de.anomic.http.httpHeader;-import de.anomic.server.serverObjects;-import de.anomic.server.serverSwitch;--//Gettext.java+//Gettext_p.java//------------// part of YACY//@@ -32,7 +21,20 @@ import de.anomic.server.serverSwitch;// along with this program; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA-public class Gettext{+import java.io.File;+import java.io.FileNotFoundException;+import java.util.ArrayList;+import java.util.Iterator;+import java.util.Map;++import de.anomic.data.gettext;+import de.anomic.http.httpHeader;+import de.anomic.server.serverObjects;+import de.anomic.server.serverSwitch;++++public class Gettext_p{public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {serverObjects prop = new serverObjects();