wesnoth/website/stats.wesnoth.org/configuration.py.example
Gregory Shikhman e967816a5c Changed map hash from md5 to sha256.
Refactored server-side upload code. Fixed sql username for uploader
from the read-only username to the read/write username. Added a
seperate GAMES_AI table for ai vs. ai games.
2009-08-30 20:12:47 +00:00

28 lines
882 B
Plaintext

# $Id$
"""
Copyright (C) 2009 by Gregory Shikhman <cornmander@cornmander.com>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
or at your option any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY.
See the COPYING file for more details.
"""
#edit these settings to match your MySQL db login info
DB_HOSTNAME="hostname"
DB_USERNAME="username"
DB_PASSWORD="password"
DB_WRITE_USERNAME="username"
DB_WRITE_PASSWORD="password"
DB_NAME="database"
DB_TABLE_PREFIX="_ws"
DB_PLOTABLE_COLUMNS="platform,version,campaign,difficulty,gold,turns,scenario,result,turns,end_gold"
MAP_DIR="/var/tmp/wesnoth/maps/"
TILE_DIR="/home/cornmander/website/wesstats/images/"