fedora-vote index.php, NONE, 1.1 castvote.cgi, 1.7, 1.8 vote.cgi, 1.4, 1.5

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Tue Jun 13 08:15:49 UTC 2006


Author: toshio

Update of /cvs/fedora/fedora-vote
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30389

Modified Files:
	castvote.cgi vote.cgi 
Added Files:
	index.php 
Log Message:
* castvote.cgi, voting.cgi: Add the path to the feodra-accounts module
  to PYTHONPATH.
* index.php: A short script to redirect to our voting CGI scripts.



--- NEW FILE index.php ---
<?php
header('Location: vote.cgi');
?>


Index: castvote.cgi
===================================================================
RCS file: /cvs/fedora/fedora-vote/castvote.cgi,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- castvote.cgi	13 Jun 2006 07:29:26 -0000	1.7
+++ castvote.cgi	13 Jun 2006 08:15:46 -0000	1.8
@@ -13,6 +13,10 @@
 
 import cgi
 import os
+import sys
+
+sys.path.append('/var/www/html/admin/accounts')
+
 import pgdb
 import pg
 


Index: vote.cgi
===================================================================
RCS file: /cvs/fedora/fedora-vote/vote.cgi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vote.cgi	12 Jun 2006 08:26:38 -0000	1.4
+++ vote.cgi	13 Jun 2006 08:15:46 -0000	1.5
@@ -3,6 +3,9 @@
 import cgi
 import sys
 import os
+
+sys.path.append('/var/www/html/admin/accounts')
+
 import website
 import pgdb
 




More information about the fedora-extras-commits mailing list