ballsacked my anus

This commit is contained in:
briandilley 2004-10-15 20:46:47 +00:00
parent 7201d52846
commit 1711d0aefa
2 changed files with 10 additions and 20 deletions

View File

@ -1,8 +0,0 @@
10-15-2005
* Made kwote lines that begin with spaces converted to  
* Added configuration parameter for rating that kills a kwote
10-10-2004
* Added kwote_backup table.
* Implemented functionality to remove nagative kwotes.

View File

@ -4,51 +4,49 @@ $DB_TYPE = "mysql";
# dbi database type (only MySQL is # dbi database type (only MySQL is
# supported currently, due to the # supported currently, due to the
# fact that "LIMIT X,X" is used # fact that "LIMIT X,X" is used
$DB_NAME = "kwotes"; $DB_NAME = "kwotes";
# database name # database name
$DB_HOST = "mysql"; $DB_HOST = "mysql";
# database host # database host
$DB_USER = "kwotes"; $DB_USER = "kwotes";
# database user # database user
$DB_PASS = "kw0t3s"; $DB_PASS = "kwotes";
# database password # database password
$SECS_BETWEEN_KWOTES = 60*60; $SECS_BETWEEN_KWOTES = 60*60;
# seconds a user must wait after # seconds a user must wait after
# submitting MAX_KWOTES_PER_IP # submitting MAX_KWOTES_PER_IP
# kwotes to the system before they # kwotes to the system before they
# are allowed to submit another # are allowed to submit another
# kwote # kwote
$KWOTE_DEATH_RATING = -1; $KWOTE_DEATH_RATING = -1;
# lowest rating a quote can be # lowest rating a quote can be
# before it's deleted. A kwote is # before it's deleted. A kwote is
# only deleted if it's been this # only deleted if it's been this
# number (or lower) for longer than # number (or lower) for longer than
# the KWOTE_TTL # the KWOTE_TTL
$KWOTE_TTL = (60*60)*24; $KWOTE_TTL = (60*60)*24;
# seconds before a "dead" # seconds before a "dead"
# quote is moved to the kwote # quote is moved to the kwote
# backup table and deleted # backup table and deleted
$VOTE_TTL = (60*60)*24; $VOTE_TTL = (60*60)*24;
# seconds a vote log lasts, the vote # seconds a vote log lasts, the vote
# log is the mechanism that keeps # log is the mechanism that keeps
# people from voting over and over # people from voting over and over
$MAX_VOTES_PER_IP = 4; $MAX_VOTES_PER_IP = 4;
# maximum votes per ip address per # maximum votes per ip address per
# VOTE_TTL seconds. # VOTE_TTL seconds.
$MAX_KWOTES_PER_IP = 5; $MAX_KWOTES_PER_IP = 5;
# maximum kwotes allowed per ip # maximum kwotes allowed per ip
# in SECS_BETWEEN_KWOTES # in SECS_BETWEEN_KWOTES
1; 1;