CVS: tmda-cgi ChangeLog,1.39,1.40 Install.py,1.17,1.18

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv24660

Modified Files:
	ChangeLog Install.py 
Log Message:
Improved domain guessing logic in installer.  Added CONFIRM_ADDRESS as one of
the pre-populated variables in the install skel.


Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ChangeLog	31 May 2003 18:11:10 -0000	1.39
+++ ChangeLog	3 Jun 2003 15:36:23 -0000	1.40
@@ -1,3 +1,8 @@
+2003-06-03  Gre7g Luterman  <[email protected]>
+
+	* Improved domain guessing logic in installer.  Added CONFIRM_ADDRESS
+	  as one of the pre-populated variables in the install skel.
+
 2003-05-31  Gre7g Luterman  <[email protected]>
 
 	* Changed installer/uninstaller to support multiple type of

Index: Install.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Install.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Install.py	31 May 2003 17:02:38 -0000	1.17
+++ Install.py	3 Jun 2003 15:36:23 -0000	1.18
@@ -639,6 +639,8 @@
     "VPopBin":   PVars[("NoOverride", "VPopBin")]
   }
   Dict["ShortUrlDom"] = re.sub("^www.", "", Dict["UrlDomain"], re.I)
+  Match = re.search(".*/domains?/([^\./]+\.[^/]+)/", Dict["Home"])
+  if Match: Dict["Domain"] = Match.group(1)
 
   # Load the display template
   if Form["cmd"].value == "conf-example":

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.