summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ed6a95)
raw | patch | inline | side by side (parent: 6ed6a95)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Jul 2002 07:26:14 +0000 (07:26 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Jul 2002 07:26:14 +0000 (07:26 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@833 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index 034c384dd3d3b251b8f7ed251024a1b075774976..bc6ff1bf11505fdd77ffa541a97988f78794ec73 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.131 2002-07-08 06:53:57 richard Exp $
+# $Id: cgi_client.py,v 1.132 2002-07-08 07:26:14 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
import roundupdb, htmltemplate, date, hyperdb, password
from roundup.i18n import _
+from roundup.indexer import Indexer
class Unauthorised(ValueError):
pass
# someone gave us a non-int debug level, turn it off
self.debug = 0
+ # used for searching the indexes
+ self.indexer = Indexer('%s/db'%instance.INSTANCE_HOME)
+
+
def getuid(self):
try:
return self.db.user.lookup(self.user)
#
# $Log: not supported by cvs2svn $
+# Revision 1.131 2002/07/08 06:53:57 richard
+# Not sure why the cgi_client had an indexer argument.
+#
# Revision 1.130 2002/06/27 12:01:53 gmcm
# If the form has a :multilink, put a back href in the pageheader (back to the linked-to node).
# Some minor optimizations (only compile regexes once).